Skip to content

Commit

Permalink
Fix missing sigverion in main_test.cpp CreateDummyScriptSigWithKey.
Browse files Browse the repository at this point in the history
  • Loading branch information
furszy committed Aug 2, 2020
1 parent a034daf commit d1d15c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/main_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ std::vector<unsigned char> CreateDummyScriptSigWithKey(CPubKey pubKey)
{
std::vector<unsigned char> vchSig;
const CScript scriptCode;
DummySignatureCreator(nullptr).CreateSig(vchSig, pubKey.GetID(), scriptCode);
DummySignatureCreator(nullptr).CreateSig(vchSig, pubKey.GetID(), scriptCode, SIGVERSION_BASE);
return vchSig;
}

Expand Down

0 comments on commit d1d15c8

Please sign in to comment.