multi: rename FeePreference to FeeEstimateInfo

Results from running,
```
gofmt -d -w -r 'FeePreference -> FeeEstimateInfo' .
```
This commit is contained in:
yyforyongyu committed 2024-04-19 21:33:21 +08:00
1 parent 6ff6c86155
commit 530eed92a0
15 files changed
+53 -49

No files matched your search

+1 -1
View File
@@ -222,7 +222,7 @@ func CalculateFeeRate(satPerByte, satPerVByte uint64, targetConf uint32,
// Based on the passed fee related parameters, we'll determine an
// appropriate fee rate for this transaction.
feePref := sweep.FeePreference{
feePref := sweep.FeeEstimateInfo{
ConfTarget: targetConf,
FeeRate: satPerKw,
}
+1 -1
View File
@@ -965,7 +965,7 @@ func (w *WalletKit) BumpFee(ctx context.Context,
in.SatPerByte * 1000,
).FeePerKWeight()
}
feePreference := sweep.FeePreference{
feePreference := sweep.FeeEstimateInfo{
ConfTarget: uint32(in.TargetConf),
FeeRate: satPerKw,
}