diff options
| author | Daniel Kraft <[email protected]> | 2015-10-27 20:11:56 +0100 |
|---|---|---|
| committer | Daniel Kraft <[email protected]> | 2015-10-27 20:11:56 +0100 |
| commit | 0be387a536f03a1dd0df66176fc354fb0895be48 (patch) | |
| tree | 367ba013479e7fb457f28458a49008ae777bc67f /src/script/sigcache.cpp | |
| parent | Merge pull request #6464 (diff) | |
| download | discoin-0be387a536f03a1dd0df66176fc354fb0895be48.tar.xz discoin-0be387a536f03a1dd0df66176fc354fb0895be48.zip | |
unittest: fix test for null tx input
Update the unittest that is meant to catch a transaction that is invalid
because it has a null input. The old test failed not because of that
but because it was considered a coinbase with too large script. This is
already checked with a different test, though.
The new test is *not* a coinbase since it has two inputs, but one of
them is null. This really checks the corresponding code path in
CheckTransaction.
Diffstat (limited to 'src/script/sigcache.cpp')
0 files changed, 0 insertions, 0 deletions