]> Untitled Git - bdk/commitdiff
fix: typo on `SignedAmount` instead of `Amount`
authorLeonardo Lima <oleonardolima@users.noreply.github.com>
Wed, 5 Jun 2024 00:53:08 +0000 (21:53 -0300)
committerLeonardo Lima <oleonardolima@users.noreply.github.com>
Wed, 5 Jun 2024 00:53:08 +0000 (21:53 -0300)
crates/electrum/tests/test_electrum.rs

index bbf25a4f974b096ed9e4b6370e904f63d3d7d670..46208139c47b5448cb57bdc1160f9dbfeb9f8bc7 100644 (file)
@@ -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);