SKALE-4262 fix build

parent fc88b9c4
......@@ -265,7 +265,7 @@ Json::Value GetDecryptionShareReqMessage::process() {
Json::Value RegisterKeyOwnerReqMessage::process() {
auto keyName = getStringRapid("keyName");
auto cert = getStringRapid("cert");
auto result = SGXWalletServer::getDecryptionShareImpl(keyName, cert);
auto result = SGXWalletServer::registerKeyOwnerImpl(keyName, cert);
result["type"] = ZMQMessage::REGISTER_KEY_OWNER_RSP;
return result;
}
......@@ -114,3 +114,7 @@ Json::Value deleteBLSKeyRspMessage::process() {
Json::Value GetDecryptionShareRspMessage::process() {
assert(false);
}
Json::Value RegisterKeyOwnerRspMessage::process() {
assert(false);
}
......@@ -259,5 +259,16 @@ public:
}
};
class RegisterKeyOwnerRspMessage : public ZMQMessage {
public:
RegisterKeyOwnerRspMessage(shared_ptr<rapidjson::Document>& _d) : ZMQMessage(_d) {};
virtual Json::Value process();
Json::Value getShare() {
return getJsonValueRapid("decryptionShare");
}
};
#endif //SGXWALLET_RSPMESSAGE_H
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