Skip to content

Commit 35ca36f

Browse files
committed
utxo: Don't save unused row.
1 parent b424308 commit 35ca36f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ledger/utxo.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ impl Ledger {
2424
match self.database.lock().unwrap().query_row(
2525
"SELECT * FROM utxos WHERE txid = ?1 AND vout = ?2",
2626
params![utxo.txid.to_string(), utxo.vout],
27-
|row| {
28-
tracing::info!("row {row:?}");
29-
Ok(())
30-
},
27+
|_| Ok(()),
3128
) {
3229
Ok(_) => false,
3330
Err(_) => true,

0 commit comments

Comments
 (0)