fix: typo on SignedAmount
instead of Amount
This commit is contained in:
parent
363d9f42e5
commit
20341a3ca1
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user