lnd.xprv/chainntnfs/btcdnotify
Johan T. Halseth b08fc05390
chainntnfs/btcd: move NotifySpent to after recording the outpoint
This commit moves the call to the btcd backend to start watching an
outpoint for spentness to after we have recorded the outpoint in our
list of clients. This is done to avoid a race that could occur if btcd
quicly sent a spend notification before we had been able to record it in
our map, essentially losing it.
2018-03-28 10:21:08 +02:00
..
btcd.go chainntnfs/btcd: move NotifySpent to after recording the outpoint 2018-03-28 10:21:08 +02:00
driver.go multi: switch from btcrpcclient to rpcclient 2017-08-24 18:54:24 -07:00