Skip to content

Commit

Permalink
make channel non-blocking for test
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiidb committed Jul 5, 2023
1 parent cad4c7b commit f17cd81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_tests/lnd_mock_hodl.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func (hps *HodlPaymentSubscriber) Recv() (*lnrpc.Payment, error) {
func NewLNDMockHodlWrapperAsync(lnd lnd.LightningClientWrapper) (result *LNDMockHodlWrapperAsync, err error) {
return &LNDMockHodlWrapperAsync{
hps: &HodlPaymentSubscriber{
ch: make(chan lnrpc.Payment),
ch: make(chan lnrpc.Payment, 5),
},
LightningClientWrapper: lnd,
}, nil
Expand Down

0 comments on commit f17cd81

Please sign in to comment.