use std::{mem};
pub struct TestFeeEstimator {
- pub sat_per_vbyte: u64,
+ pub sat_per_kw: u64,
}
impl chaininterface::FeeEstimator for TestFeeEstimator {
- fn get_est_sat_per_vbyte(&self, _confirmation_target: ConfirmationTarget) -> u64 {
- self.sat_per_vbyte
+ fn get_est_sat_per_1000_weight(&self, _confirmation_target: ConfirmationTarget) -> u64 {
+ self.sat_per_kw
}
}