projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use usize for transaction-position-in-block values
[rust-lightning]
/
fuzz
/
src
/
chanmon_consistency.rs
diff --git
a/fuzz/src/chanmon_consistency.rs
b/fuzz/src/chanmon_consistency.rs
index 8be994bd7f2c14dd971705aa4e811b55f081ca2d..eba0cb9e4f91adcb17699623ca991aa3a6c13b7c 100644
(file)
--- a/
fuzz/src/chanmon_consistency.rs
+++ b/
fuzz/src/chanmon_consistency.rs
@@
-311,7
+311,7
@@
pub fn do_test<Out: test_logger::Output>(data: &[u8], out: Out) {
let mut posn = Vec::with_capacity(channel_txn.len());
for i in 0..channel_txn.len() {
txn.push(&channel_txn[i]);
- posn.push(i
as u32
+ 1);
+ posn.push(i + 1);
}
$node.block_connected(&header, 1, &txn, &posn);
for i in 2..100 {