Skip to content

Commit a63c063

Browse files
committed
rust format
1 parent 4edd741 commit a63c063

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/bin/tx-fingerprint-stats.rs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,15 @@ fn main() {
8383

8484
//info!("{:?},{:?}", txid, blockid);
8585

86-
let prevouts = chain.lookup_txos(
87-
tx.input
88-
.iter()
89-
.filter(|txin| has_prevout(txin))
90-
.map(|txin| txin.previous_output)
91-
.collect(),
92-
).unwrap();
86+
let prevouts = chain
87+
.lookup_txos(
88+
tx.input
89+
.iter()
90+
.filter(|txin| has_prevout(txin))
91+
.map(|txin| txin.previous_output)
92+
.collect(),
93+
)
94+
.unwrap();
9395

9496
let total_out: u64 = tx.output.iter().map(|out| out.value.to_sat()).sum();
9597
let small_out = tx

0 commit comments

Comments
 (0)