diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-03-07 17:17:09 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-03-07 17:18:14 +0100 |
| commit | 842f61a675db014b3226c78d68a87b2de633d28c (patch) | |
| tree | 6882d49854e45585ad043ce718bd0f245a913a6d /src/httpserver.cpp | |
| parent | Merge #11687: External wallet files (diff) | |
| parent | CheckMinimalPush comments are prescriptive (diff) | |
| download | discoin-842f61a675db014b3226c78d68a87b2de633d28c.tar.xz discoin-842f61a675db014b3226c78d68a87b2de633d28c.zip | |
Merge #11900: [script] simplify CheckMinimalPush checks, add safety assert
0749808a7 CheckMinimalPush comments are prescriptive (Gregory Sanders)
176db6147 simplify CheckMinimalPush checks, add safety assert (Gregory Sanders)
Pull request description:
the two conditions could simply never be hit as `true`, as those opcodes have a push payload of size 0 in `data`.
Added the assert for clarity for future readers(matching the gating in the interpreter) and safety for future use.
This effects policy only.
Tree-SHA512: f49028a1d5e907ef697b9bf5104c81ba8f6a331dbe5d60d8d8515ac17d2d6bfdc9dcc856a7e3dbd54814871b7d0695584d28da6553e2d9d7715430223f0b3690
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions