chains+server: if not in simnet mode, use BtcdFeeEstimator

This commit is contained in:
Olaoluwa Osuntokun committed 2017-11-23 23:10:12 -06:00
1 parent 5a51600f95
commit ad364ae9a1
3 files changed
+28 -2

No files matched your search

+1 -1
View File
@@ -841,7 +841,7 @@ func (r *rpcServer) CloseChannel(in *lnrpc.CloseChannelRequest,
// TODO(roasbeef): actually get the active channel
// instead too?
// * so only need to grab from database
peer.WipeChannel(channel)
peer.WipeChannel(channel.ChannelPoint())
} else {
chanID := lnwire.NewChanIDFromOutPoint(channel.ChannelPoint())
r.server.htlcSwitch.RemoveLink(chanID)