lnwallet: for rbf coop close, log the close tx

This commit is contained in:
Olaoluwa Osuntokun
2024-09-25 14:46:18 +09:00
parent b94ce6fa08
commit b8cf5ae98f
7 changed files with 11 additions and 21 deletions

View File

@@ -153,11 +153,11 @@ type mockCloseSigner struct {
func (m *mockCloseSigner) CreateCloseProposal(fee btcutil.Amount,
localScript []byte, remoteScript []byte,
closeOpt ...lnwallet.ChanCloseOpt) (
input.Signature, *chainhash.Hash, btcutil.Amount, error) {
input.Signature, *wire.MsgTx, btcutil.Amount, error) {
args := m.Called(fee, localScript, remoteScript, closeOpt)
return args.Get(0).(input.Signature), args.Get(1).(*chainhash.Hash),
return args.Get(0).(input.Signature), args.Get(1).(*wire.MsgTx),
args.Get(2).(btcutil.Amount), args.Error(3)
}