Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client/asset/btc: use known block hash
Use the known block Hash instead of using the btcutil.(*Block).Hash method. That method mutates a field of the Block to cache the hash, unfortunately it is not thread-safe, and it is unuse confurrent with other goroutines inside neutrino including VerifyBasicBlockFilter.
- Loading branch information