From e72a001b3f2131f0a1d655464c38e178c183a7e4 Mon Sep 17 00:00:00 2001 From: Liu Pengpeng Date: Sun, 28 Jun 2020 16:01:01 +0800 Subject: [PATCH] bugfixs --- .../java/org/bitcorej/chain/stellar/StellarStateProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/bitcorej/chain/stellar/StellarStateProvider.java b/core/src/main/java/org/bitcorej/chain/stellar/StellarStateProvider.java index 6233e4f..9936f8c 100644 --- a/core/src/main/java/org/bitcorej/chain/stellar/StellarStateProvider.java +++ b/core/src/main/java/org/bitcorej/chain/stellar/StellarStateProvider.java @@ -20,7 +20,7 @@ public StellarStateProvider(org.bitcorej.core.Network network) { this.network = network; } - private void switchNetwork() { + protected void switchNetwork() { switch (network) { case MAIN: Network.usePublicNetwork(); @@ -100,7 +100,7 @@ public String signRawTransaction(String rawTx, List keys) { .addOperation(op) .setOperationFee(fee) .addMemo(Memo.text(memo)) - .setTimeout(10 * 1000L) + .setTimeout(0) .build(); transaction.sign(source); JSONObject packedTx = new JSONObject();