lnd.xprv/chainntnfs/btcdnotify
Johan T. Halseth 5d6dd90d18
chainntnfs/btcdnotify: correctly notify on confirmed rescan spends
This commit fixes a recently introduced bug in the btcdnotifier, where
we would skip all spend clients waiting for a confirmed spend in
txUpdates. The regular case where a spend is included in a new block was
correctly handled in onBlockConnected, but the txUpdates queue is also
used for confirmed spends during rescans, which we would miss. This
commit fixes that by checking if the tx update is confirmed or
unconfirmed, and acts accordingly.
2018-04-16 20:09:08 +02:00
..
btcd.go chainntnfs/btcdnotify: correctly notify on confirmed rescan spends 2018-04-16 20:09:08 +02:00
driver.go multi: switch from btcrpcclient to rpcclient 2017-08-24 18:54:24 -07:00