Unverified Commit eec3a72b authored by Stan Kladko's avatar Stan Kladko Committed by GitHub

Merge pull request #112 from skalenetwork/SKALE-2678-fix

SKALE-2678-BLS-test-vectors
parents a91b51fb 554a6f6a
......@@ -85,8 +85,12 @@ void SGXWallet::serializeKeys(vector<string>& _ecdsaKeyNames, vector<string>& _b
for (uint i = 0; i < _ecdsaKeyNames.size(); i++) {
auto key = to_string(i + 1);
ecdsaKeysJson[key] = _ecdsaKeyNames[i];
blsKeysJson[key] = _blsKeyNames[i];
string keyFull(3 - key.size(), '0');
keyFull.append(key);
ecdsaKeysJson[keyFull] = _ecdsaKeyNames[i];
blsKeysJson[keyFull] = _blsKeyNames[i];
}
top["ecdsaKeyNames"] = ecdsaKeysJson;
......
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