diff options
| author | MarcoFalke <[email protected]> | 2020-11-03 12:04:03 +0100 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2020-11-03 12:25:55 +0100 |
| commit | fa1dea19fc50db449386c9f969adc5ad327a0f0d (patch) | |
| tree | 90b6e347c268199317a470380a27e4fe794bcb4f /src/script/script_error.cpp | |
| parent | test: Remove unused unnamed parameter from block.serialize call (diff) | |
| download | discoin-fa1dea19fc50db449386c9f969adc5ad327a0f0d.tar.xz discoin-fa1dea19fc50db449386c9f969adc5ad327a0f0d.zip | |
test: Fix deser issue in create_block
Without the fix a hex-string can not be parsed:
File "./test/functional/test_framework/blocktools.py", line 82, in create_block
txo.deserialize(io.BytesIO(tx))
TypeError: a bytes-like object is required, not 'str'
Also, remove io import and repace it with our FromHex() helper
Diffstat (limited to 'src/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions