fix bls sign 0x

parent 774d4cc7
...@@ -327,7 +327,7 @@ SGXWalletServer::blsSignMessageHashImpl(const string &_keyShareName, const strin ...@@ -327,7 +327,7 @@ SGXWalletServer::blsSignMessageHashImpl(const string &_keyShareName, const strin
value = readFromDb(_keyShareName); 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 "); throw SGXException(COULD_NOT_BLS_SIGN, ":Could not bls sign data ");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment