fix: typo on SignedAmount instead of Amount

This commit is contained in:
Leonardo Lima 2024-06-04 21:53:08 -03:00
parent 363d9f42e5
commit 20341a3ca1
No known key found for this signature in database
GPG Key ID: 9FA9A7938187D298

View File

@ -102,7 +102,7 @@ fn scan_detects_confirmed_tx() -> anyhow::Result<()> {
.expect("Fee must exist") .expect("Fee must exist")
.abs() .abs()
.to_unsigned() .to_unsigned()
.expect("valid `SignedAmount`"); .expect("valid `Amount`");
// Check that the calculated fee matches the fee from the transaction data. // Check that the calculated fee matches the fee from the transaction data.
assert_eq!(fee, tx_fee); assert_eq!(fee, tx_fee);