sweep: rename Estimator to FeeEstimator

This commit is contained in:
Olaoluwa Osuntokun committed 2019-01-09 15:55:01 -08:00
1 parent a0c0e8edc9
commit 77262ff699
3 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -607,7 +607,7 @@ func newServer(listenAddrs []net.Addr, chanDB *channeldb.DB, cc *chainControl,
}
s.sweeper = sweep.New(&sweep.UtxoSweeperConfig{
Estimator: cc.feeEstimator,
FeeEstimator: cc.feeEstimator,
GenSweepScript: func() ([]byte, error) {
return newSweepPkScript(cc.wallet)
},