Rewrite yarn.lock (#2127)
This commit is contained in:
@@ -49,6 +49,7 @@ export abstract class Base<ApiType extends ApiTypes> implements ContractBase<Api
|
||||
assert(!!def, `Attempted to access a contract message that does not exist: ${typeof nameOrIndex === 'number' ? `index ${nameOrIndex}` : nameOrIndex}`);
|
||||
|
||||
const fn = this.abi.messages[def.name] || this.abi.messages[stringCamelCase(def.name)];
|
||||
|
||||
return { def, fn, index };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user