Switch all feerate u64's to u32's.
[rust-lightning] / fuzz / src / full_stack.rs
index 8cef7fb5458f0f0105cd655e78f2b6e0f4621d4f..726700ad2ee0d2efbda750d4ced1add4f433cd9e 100644 (file)
@@ -94,10 +94,10 @@ struct FuzzEstimator {
        input: Arc<InputData>,
 }
 impl FeeEstimator for FuzzEstimator {
-       fn get_est_sat_per_1000_weight(&self, _: ConfirmationTarget) -> u64 {
+       fn get_est_sat_per_1000_weight(&self, _: ConfirmationTarget) -> u32 {
                //TODO: We should actually be testing at least much more than 64k...
                match self.input.get_slice(2) {
-                       Some(slice) => cmp::max(slice_to_be16(slice) as u64, 253),
+                       Some(slice) => cmp::max(slice_to_be16(slice) as u32, 253),
                        None => 253
                }
        }