Skip to content

Commit

Permalink
Fixup?
Browse files Browse the repository at this point in the history
  • Loading branch information
knocte committed Jan 3, 2024
1 parent 1e24401 commit 7a82444
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/GWallet.Backend.Tests/Deserialization.fs
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,9 @@ type Deserialization() =
).ToString()
let signedTxWithNewVersion =
MarshallingData.ReplaceVersion MarshallingData.SignedBtcTransactionExampleInJson majorPlusOne
let deserializedBtcTransaction: SignedTransaction<UtxoCoin.TransactionMetadata> =
Marshalling.Deserialize signedTxWithNewVersion
let deserializedBtcTransaction: SignedTransaction<IBlockchainFeeInfo> =
Account.ImportSignedTransactionFromJson signedTxWithNewVersion

Assert.That(deserializedBtcTransaction, Is.Not.Null)
Assert.That(deserializedBtcTransaction.TransactionInfo.Proposal.Amount.ValueToSend,
Is.EqualTo 10.01m)
Expand Down

0 comments on commit 7a82444

Please sign in to comment.