Skip to content

Commit 574817b

Browse files
committed
Merge pull request #84 from instagibbs/wpvfix
Fix broken assertion in alpha for new libsecp version.
2 parents df4c512 + d390521 commit 574817b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script/interpreter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1466,7 +1466,7 @@ bool EvalScript(vector<vector<unsigned char> >& stack, const CScript& script, un
14661466
size_t pubkeylen = 33;
14671467
assert(secp256k1_ec_pubkey_parse(secp256k1_interpreter_context, &pubkey, pub_start, 33));
14681468
assert(secp256k1_ec_pubkey_tweak_add(secp256k1_interpreter_context, &pubkey, tweak) != 0);
1469-
assert(secp256k1_ec_pubkey_serialize(secp256k1_interpreter_context, pub_start, &pubkeylen, &pubkey, 1));
1469+
assert(secp256k1_ec_pubkey_serialize(secp256k1_interpreter_context, pub_start, &pubkeylen, &pubkey, SECP256K1_EC_COMPRESSED));
14701470
}
14711471
}
14721472
}

0 commit comments

Comments
 (0)