Skip to content

Commit

Permalink
fix: typo on SignedAmount instead of Amount
Browse files Browse the repository at this point in the history
  • Loading branch information
oleonardolima committed Jun 5, 2024
1 parent 363d9f4 commit 20341a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/electrum/tests/test_electrum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ fn scan_detects_confirmed_tx() -> anyhow::Result<()> {
.expect("Fee must exist")
.abs()
.to_unsigned()
.expect("valid `SignedAmount`");
.expect("valid `Amount`");

// Check that the calculated fee matches the fee from the transaction data.
assert_eq!(fee, tx_fee);
Expand Down

0 comments on commit 20341a3

Please sign in to comment.