Use usize for transaction-position-in-block values
[rust-lightning] / fuzz / src / full_stack.rs
index 61699136f3522a0d61bfdec770866fb0c7b41ffd..18e31fc9499c2b73879c4cd3fefa5a9f418909f2 100644 (file)
@@ -183,7 +183,7 @@ impl<'a> MoneyLossDetector<'a> {
                                hash_map::Entry::Vacant(e) => {
                                        e.insert(self.height);
                                        txn.push(tx);
-                                       txn_idxs.push(idx as u32 + 1);
+                                       txn_idxs.push(idx + 1);
                                },
                                _ => {},
                        }