Skip to content

Commit

Permalink
lightsail-network#411: used getter method for accessing the timebounds
Browse files Browse the repository at this point in the history
  • Loading branch information
sreuland authored and Vincent Amouret committed Apr 30, 2022
1 parent 776aa85 commit 19a2861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/stellar/sdk/Transaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ private TransactionV0 toXdr() {
transaction.setSourceAccountEd25519(StrKey.encodeToXDRAccountId(this.mSourceAccount).getAccountID().getEd25519());
transaction.setOperations(operations);
transaction.setMemo(mMemo.toXdr());
transaction.setTimeBounds(mPreconditions.getTimeBounds() == null ? null : getTimeBounds().toXdr());
transaction.setTimeBounds(getTimeBounds() == null ? null : getTimeBounds().toXdr());
transaction.setExt(ext);
return transaction;
}
Expand Down

0 comments on commit 19a2861

Please sign in to comment.