Skip to content

Commit 8a3c496

Browse files
committed
staticaddr: deposit block height from utxo pkscript
1 parent 1a2e050 commit 8a3c496

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

staticaddr/deposit/manager.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ func (m *Manager) getBlockHeight(ctx context.Context,
342342

343343
notifChan, errChan, err :=
344344
m.cfg.ChainNotifier.RegisterConfirmationsNtfn(
345-
ctx, &utxo.OutPoint.Hash, addressParams.PkScript,
346-
MinConfs, addressParams.InitiationHeight,
345+
ctx, &utxo.OutPoint.Hash, utxo.PkScript, MinConfs,
346+
addressParams.InitiationHeight,
347347
)
348348
if err != nil {
349349
return 0, err

0 commit comments

Comments
 (0)