diff options
| author | Jon Atack <[email protected]> | 2020-08-05 17:46:31 +0200 |
|---|---|---|
| committer | Jon Atack <[email protected]> | 2020-08-26 11:56:59 +0200 |
| commit | 39f1dc944554218911b0945fff7e6d06f3dab284 (patch) | |
| tree | 297ad7f7e79d411fd5f69516d1edf91f7c12f742 /src/script/script_error.cpp | |
| parent | p2p: add CInv block message helper methods (diff) | |
| download | discoin-39f1dc944554218911b0945fff7e6d06f3dab284.tar.xz discoin-39f1dc944554218911b0945fff7e6d06f3dab284.zip | |
p2p: remove nFetchFlags from NetMsgType TX and INV processing
The nFetchFlags code can be removed here because GetFetchFlags() can only add
the MSG_WITNESS_FLAG, which is added to the CInv::type field. That CInv is only
passed to AlreadyHave() or ToGenTxid(), and neither of those functions do
anything different depending on whether the CInv type is MSG_TX or
MSG_WITNESS_TX.
Co-authored by: John Newbery <[email protected]>
Diffstat (limited to 'src/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions