aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2019-05-08 10:03:06 -0400
committerMarcoFalke <[email protected]>2019-05-08 10:06:21 -0400
commitfa52eb55c9fe3f7f8517a5804a55edb7f7b3a625 (patch)
tree5ed0ba914b00a7c2c108626a287bc881d0499604 /src/httpserver.cpp
parentMerge #15664: change default Python block serialization to witness (diff)
downloaddiscoin-fa52eb55c9fe3f7f8517a5804a55edb7f7b3a625.tar.xz
discoin-fa52eb55c9fe3f7f8517a5804a55edb7f7b3a625.zip
test: Remove True argument to CBlock::serialize
Unnamed arguments are confusing as to what they mean without looking up the function signature. Since segwit is active by default in regtest, and all blocks are serialized with witness (#15664, c459c5f), remove the argument `with_witness=True` from all calls to `CBlock::serialize` and `BlockTransactions::serialize`. This diff has been created with a script, but is better reviewed without a scripted diff. sed -i --regexp-extended -e 's/block(_?[2a-z]*)\.serialize\([a-z_]*=?True/block\1.serialize(/g' $(git grep -l serialize ./test)
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions