From bcf8eb42a94f24aebc76a1db256f336fb2e8977a Mon Sep 17 00:00:00 2001 From: overcat <4catcode@gmail.com> Date: Wed, 2 Aug 2023 23:09:30 +0800 Subject: [PATCH] WIP --- src/main/java/org/stellar/sdk/Transaction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/stellar/sdk/Transaction.java b/src/main/java/org/stellar/sdk/Transaction.java index 41c6bf624..e8b199f55 100644 --- a/src/main/java/org/stellar/sdk/Transaction.java +++ b/src/main/java/org/stellar/sdk/Transaction.java @@ -245,7 +245,7 @@ private org.stellar.sdk.xdr.Transaction toV1Xdr(AccountConverter accountConverte public static Transaction fromV0EnvelopeXdr( AccountConverter accountConverter, TransactionV0Envelope envelope, Network network) { - int mFee = envelope.getTx().getFee().getUint32().getNumber().intValue(); + long mFee = envelope.getTx().getFee().getUint32().getNumber(); Long mSequenceNumber = envelope.getTx().getSeqNum().getSequenceNumber().getInt64(); Memo mMemo = Memo.fromXdr(envelope.getTx().getMemo()); TimeBounds mTimeBounds = TimeBounds.fromXdr(envelope.getTx().getTimeBounds()); @@ -279,7 +279,7 @@ public static Transaction fromV0EnvelopeXdr(TransactionV0Envelope envelope, Netw public static Transaction fromV1EnvelopeXdr( AccountConverter accountConverter, TransactionV1Envelope envelope, Network network) { - int mFee = envelope.getTx().getFee().getUint32().getNumber().intValue(); + long mFee = envelope.getTx().getFee().getUint32().getNumber(); Long mSequenceNumber = envelope.getTx().getSeqNum().getSequenceNumber().getInt64(); Memo mMemo = Memo.fromXdr(envelope.getTx().getMemo());