projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix panic on reorg through the funding_locked-generating block
[rust-lightning]
/
src
/
util
/
test_utils.rs
diff --git
a/src/util/test_utils.rs
b/src/util/test_utils.rs
index 5eec3f027897b609e453ff5ec91f130b8e2edeb6..9646754f2d0097f51358cf5be9d86c8519acfcd4 100644
(file)
--- a/
src/util/test_utils.rs
+++ b/
src/util/test_utils.rs
@@
-14,11
+14,11
@@
use std::sync::{Arc,Mutex};
use std::{mem};
pub struct TestFeeEstimator {
use std::{mem};
pub struct TestFeeEstimator {
- pub sat_per_
vbyte
: u64,
+ pub sat_per_
kw
: u64,
}
impl chaininterface::FeeEstimator for TestFeeEstimator {
}
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
}
}
}
}