Fix typo in hex -> name logic (#5008)

This commit is contained in:
Jaco
2022-07-01 12:28:59 +03:00
committed by GitHub
parent 6d4027e116
commit d91b16f93d
+1 -1
View File
@@ -346,7 +346,7 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
const nameA = stringUpperFirst(sections[i]);
const nameB = `${nameA}Api`;
this._runtimeMap[blake2AsHex(nameA, 64)] = nameB;
this._runtimeMap[blake2AsHex(nameA, 64)] = nameA;
this._runtimeMap[blake2AsHex(nameB, 64)] = nameB;
}