multi: update to latest fee estimation interface
This commit is contained in:
21 files changed
+150
-204
No files matched your search
+2
-3
@@ -201,12 +201,11 @@ func createTestPeer(notifier chainntnfs.ChainNotifier,
|
||||
return nil, nil, nil, nil, err
|
||||
}
|
||||
|
||||
estimator := &lnwallet.StaticFeeEstimator{FeeRate: 50}
|
||||
feePerVSize, err := estimator.EstimateFeePerVSize(1)
|
||||
estimator := &lnwallet.StaticFeeEstimator{FeePerKW: 12500}
|
||||
feePerKw, err := estimator.EstimateFeePerKW(1)
|
||||
if err != nil {
|
||||
return nil, nil, nil, nil, err
|
||||
}
|
||||
feePerKw := feePerVSize.FeePerKWeight()
|
||||
|
||||
// TODO(roasbeef): need to factor in commit fee?
|
||||
aliceCommit := channeldb.ChannelCommitment{
|
||||
|
||||
Reference in new issue
Block a user