Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BitcoinSerializer: Don't use the payload hash to set the tx hash for …
…transactions with witnesses. When we receive a tx message from a peer, the hash is the hash of the payload. If the tx is a segwit tx it is not equal to its bitcoin hash (which uses the pre-segwit serialization format) so we don't set it, it will be computed later.
- Loading branch information