Skip to content

Commit

Permalink
bugfixs
Browse files Browse the repository at this point in the history
  • Loading branch information
pengpengliu committed Jun 28, 2020
1 parent 131be15 commit e72a001
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -100,7 +100,7 @@ public String signRawTransaction(String rawTx, List<String> keys) {
.addOperation(op)
.setOperationFee(fee)
.addMemo(Memo.text(memo))
.setTimeout(10 * 1000L)
.setTimeout(0)
.build();
transaction.sign(source);
JSONObject packedTx = new JSONObject();
Expand Down

0 comments on commit e72a001

Please sign in to comment.