Skip to content

Commit 6b46c59

Browse files
committed
tapchannel: add more context to funding ACK error
1 parent dc9712f commit 6b46c59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tapchannel/aux_funding_controller.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -1126,8 +1126,9 @@ func (f *FundingController) completeChannelFunding(ctx context.Context,
11261126
case <-fundingState.fundingFinalizedSignal:
11271127

11281128
case <-time.After(ackTimeout):
1129-
return nil, fmt.Errorf("didn't receive funding ack after %v",
1130-
ackTimeout)
1129+
return nil, fmt.Errorf("didn't receive funding ack after %v: "+
1130+
"remote node didn't respond in time or doesn't "+
1131+
"support Taproot Asset Channels", ackTimeout)
11311132

11321133
case <-f.Quit:
11331134
}

0 commit comments

Comments
 (0)