itest: allow set fee rate with conf target

In this commit, we add a method in fee service to allow specifying a fee
rate with a conf target.
This commit is contained in:
yyforyongyu committed 2021-06-29 20:25:47 +08:00
1 parent 614884dcb8
commit a77225ba9e
2 files changed
+14

No files matched your search

+6
View File
@@ -1512,6 +1512,12 @@ func (n *NetworkHarness) SetFeeEstimate(fee chainfee.SatPerKWeight) {
n.feeService.setFee(fee)
}
func (n *NetworkHarness) SetFeeEstimateWithConf(
fee chainfee.SatPerKWeight, conf uint32) {
n.feeService.setFeeWithConf(fee, conf)
}
// CopyFile copies the file src to dest.
func CopyFile(dest, src string) error {
s, err := os.Open(src)