Skip to content

Commit

Permalink
Merge pull request ElementsProject#84 from instagibbs/wpvfix
Browse files Browse the repository at this point in the history
Fix broken assertion in alpha for new libsecp version.
  • Loading branch information
apoelstra committed Feb 29, 2016
2 parents df4c512 + d390521 commit 574817b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,7 @@ bool EvalScript(vector<vector<unsigned char> >& stack, const CScript& script, un
size_t pubkeylen = 33;
assert(secp256k1_ec_pubkey_parse(secp256k1_interpreter_context, &pubkey, pub_start, 33));
assert(secp256k1_ec_pubkey_tweak_add(secp256k1_interpreter_context, &pubkey, tweak) != 0);
assert(secp256k1_ec_pubkey_serialize(secp256k1_interpreter_context, pub_start, &pubkeylen, &pubkey, 1));
assert(secp256k1_ec_pubkey_serialize(secp256k1_interpreter_context, pub_start, &pubkeylen, &pubkey, SECP256K1_EC_COMPRESSED));
}
}
}
Expand Down

0 comments on commit 574817b

Please sign in to comment.