HomePhabricator

unittest: fix test for null tx input
0be387a536f0Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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.

Details

Provenance
Daniel Kraft <d@domob.eu>Authored on Oct 27 2015, 19:11
deadalnixPushed on May 14 2017, 22:04
Parents
rABC8f3b3cdee497: Merge pull request #6464
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Kraft <d@domob.eu> committed rABC0be387a536f0: unittest: fix test for null tx input (authored by Daniel Kraft <d@domob.eu>).Oct 27 2015, 19:11