mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-03 17:26:57 +01:00
chainntfns/btcdnotify: update to newest btcrpcclient interface
This commit is contained in:
parent
f61f3d0b71
commit
ccf71100fd
1 changed files with 3 additions and 3 deletions
|
@ -273,7 +273,7 @@ out:
|
||||||
update.blockHash)
|
update.blockHash)
|
||||||
|
|
||||||
newHeight := update.blockHeight
|
newHeight := update.blockHeight
|
||||||
for _, tx := range newBlock.Transactions() {
|
for _, tx := range newBlock.Transactions {
|
||||||
// Check if the inclusion of this transaction
|
// Check if the inclusion of this transaction
|
||||||
// within a block by itself triggers a block
|
// within a block by itself triggers a block
|
||||||
// confirmation threshold, if so send a
|
// confirmation threshold, if so send a
|
||||||
|
@ -281,8 +281,8 @@ out:
|
||||||
// notification on a heap to be triggered in
|
// notification on a heap to be triggered in
|
||||||
// the future once additional confirmations are
|
// the future once additional confirmations are
|
||||||
// attained.
|
// attained.
|
||||||
txSha := tx.Sha()
|
txSha := tx.TxSha()
|
||||||
b.checkConfirmationTrigger(txSha, newHeight)
|
b.checkConfirmationTrigger(&txSha, newHeight)
|
||||||
}
|
}
|
||||||
|
|
||||||
// A new block has been connected to the main
|
// A new block has been connected to the main
|
||||||
|
|
Loading…
Add table
Reference in a new issue