This commit fixes a prior mishandled error when attempting historical confirmation dispatches. In the prior version of this code fragment, if the transaction under the spotlight wasn’t found within the mempool, or already in the chain, then an error would be returned by b.chainConn.GetRawTransactionVerbose, which would case the function to exit with an error. This behavior was incorrect, as during transaction re-broadcasts, it was possible for transaction not yet to be a member of either set. We fix this issue by ensuring that we treat the JSON error code as a benign error and continue with the notification registration. |
||
---|---|---|
.. | ||
btcd.go | ||
confheap.go | ||
driver.go |