SKALE-2002 fix codacy warning

parent 497b3967
......@@ -221,7 +221,6 @@ void sendRPCRequest() {
}
}
int k = 0;
vector <string> secShares(n);
......@@ -235,7 +234,6 @@ void sendRPCRequest() {
k++;
}
BLSSigShareSet sigShareSet(t, n);
string hash = SAMPLE_HASH;
......@@ -249,14 +247,12 @@ void sendRPCRequest() {
map <size_t, shared_ptr<BLSPublicKeyShare>> coeffs_pkeys_map;
for (int i = 0; i < t; i++) {
string endName = polyNames[i].substr(4);
string blsName = "BLS_KEY" + polyNames[i].substr(4);
string secretShare = secretShares[i]["secretShare"].asString();
c.createBLSPrivateKey(blsName, ethKeys[i]["keyName"].asString(), polyNames[i], secShares[i], t,
n);
c.createBLSPrivateKey(blsName, ethKeys[i]["keyName"].asString(), polyNames[i], secShares[i], t, n);
pubBLSKeys[i] = c.getBLSPublicKeyShare(blsName);
string hash = SAMPLE_HASH;
......
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