chains+server: if not in simnet mode, use BtcdFeeEstimator
This commit is contained in:
3 files changed
+28
-2
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user