lisk-sdk
lisk-sdk copied to clipboard
Incorrect naming `const allKeys = ....`
Description
const allKeys = [...params.mandatoryKeys, ...params.optionalKeys].map((key, index) => ({
key,
signature: params.signatures[index],
}));
Here allKeys should be renamed to signaturesByKey
Motivation
Since it contains combination of signature & key & not just all keys.
Additional Information
framework/src/modules/auth/commands/register_multisignature.ts