Skip to content

Commit

Permalink
Merge pull request #380 from skalenetwork/bug/fix-0x-bls-sign
Browse files Browse the repository at this point in the history
fix bls sign 0x
  • Loading branch information
olehnikolaiev authored Feb 21, 2022
2 parents 505be9b + b751034 commit 513ec71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SGXWalletServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ SGXWalletServer::blsSignMessageHashImpl(const string &_keyShareName, const strin
value = readFromDb(_keyShareName);


if (!bls_sign(value->c_str(), _messageHash.c_str(), t, n, signature.data())) {
if (!bls_sign(value->c_str(), hashTmp.c_str(), t, n, signature.data())) {
throw SGXException(COULD_NOT_BLS_SIGN, ":Could not bls sign data ");
}

Expand Down

0 comments on commit 513ec71

Please sign in to comment.