aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/test/accounting_tests.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2018-03-07 17:17:09 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2018-03-07 17:18:14 +0100
commit842f61a675db014b3226c78d68a87b2de633d28c (patch)
tree6882d49854e45585ad043ce718bd0f245a913a6d /src/wallet/test/accounting_tests.cpp
parent98bc27fb5998a04ea0a6c08a582cfc5fa020cee9 (diff)
parent0749808a7fc31250abfbc8c61963065e0d320824 (diff)
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/wallet/test/accounting_tests.cpp')
0 files changed, 0 insertions, 0 deletions