We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bae4881 commit d1fd717Copy full SHA for d1fd717
src/electrum/server.rs
@@ -286,7 +286,7 @@ impl Connection {
286
let (chain_stats, mempool_stats) = self.query.stats(&script_hash[..]);
287
288
Ok(json!({
289
- "confirmed": chain_stats.funded_txo_sum as i64 - chain_stats.spent_txo_sum as i64,
+ "confirmed": chain_stats.funded_txo_sum - chain_stats.spent_txo_sum,
290
"unconfirmed": mempool_stats.funded_txo_sum as i64 - mempool_stats.spent_txo_sum as i64,
291
}))
292
}
0 commit comments