fix typo test/chainnotifier_mock.go

This commit is contained in:
shuoer86 2024-01-12 20:56:44 +08:00
parent 921bdf05bd
commit 8421ae6ca4
No known key found for this signature in database
GPG key ID: 84A704A15F88ADAD

View file

@ -133,7 +133,7 @@ func (c *mockChainNotifier) RegisterConfirmationsNtfn(ctx context.Context,
r := c.confRegistrations[i]
// Whichever conf notifier catches the confirmation
// will forward it to all matching subscibers.
// will forward it to all matching subscribers.
if bytes.Equal(m.Tx.TxOut[0].PkScript, r.PkScript) {
// Unregister the "notifier".
c.confRegistrations = append(