We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0540c25 commit 340c446Copy full SHA for 340c446
src/ledger/utxo.rs
@@ -10,7 +10,7 @@ impl Ledger {
10
"INSERT INTO utxos (txid, vout) VALUES (?1, ?2)",
11
params![utxo.txid.to_string(), utxo.vout],
12
) {
13
- return Err(LedgerError::Transaction(format!(
+ return Err(LedgerError::Utxo(format!(
14
"Couldn't add utxo {:?} to ledger: {}",
15
utxo, e
16
)));
@@ -37,7 +37,7 @@ impl Ledger {
37
"DELETE FROM utxos WHERE txid = ?1 AND vout = ?2",
38
39
40
41
"Couldn't remove utxo {:?} from ledger: {}",
42
43
0 commit comments