depolymerization

wire gateway for Bitcoin/Ethereum
Log | Files | Refs | Submodules | README | LICENSE

commit db9f7c37411027149abfbb45d071771a9026f059
parent 1e5bae6f56c6c63ff4af09a29e289b4f36520ca1
Author: Antoine A <>
Date:   Sat, 10 Oct 2026 11:52:20 +0200

common: fix last assert_matches

Diffstat:
Mdepolymerizer-bitcoin/src/db.rs | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/depolymerizer-bitcoin/src/db.rs b/depolymerizer-bitcoin/src/db.rs @@ -875,7 +875,7 @@ pub enum SyncBounceResult { #[cfg(test)] pub mod test { - use std::{assert_matches, str::FromStr, sync::LazyLock}; + use std::{str::FromStr, sync::LazyLock}; use bitcoin::{ Address, BlockHash, Txid, @@ -1562,7 +1562,7 @@ pub mod test { // Recovered let bounced_txid = rand_tx_id(); let bounce_txid = rand_tx_id(); - assert_matches!( + assert!(matches!( register_tx_in(&db, &bounced_txid, &amount, &ADDR, &now, &None) .await .expect("register tx in"), @@ -1571,7 +1571,7 @@ pub mod test { pending: false, .. } - ); + )); let out = TxOut { id: bounce_txid, replaces_txid: None,