5044cd6468
This commit fixes a prior bug in the logic for registering a new spend notification. Previously, if the transaction wasn’t found in the mempool or already confirmed within the chain, then GetRawTransactionVerbose would return an error which would cause the function itself to exit with an error. This issue would then cause the server to be unable to start up as the breach arbiter would be unable to register for spend notifications for all the channels that it needed to be watching. We fix this error simply by recognizing the particular JSON-RPC error that will be returned in this scenario and treating it as a benign error. |
||
---|---|---|
.. | ||
btcd.go | ||
confheap.go | ||
driver.go |