1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.findCall = findCall;
|
7 | exports.findError = findError;
|
8 |
|
9 | var _util = require("@polkadot/util");
|
10 |
|
11 | // Copyright 2017-2022 @polkadot/api authors & contributors
|
12 | // SPDX-License-Identifier: Apache-2.0
|
13 | function findCall(registry, callIndex) {
|
14 | return registry.findMetaCall((0, _util.u8aToU8a)(callIndex));
|
15 | }
|
16 |
|
17 | function findError(registry, errorIndex) {
|
18 | return registry.findMetaError((0, _util.u8aToU8a)(errorIndex));
|
19 | } |
\ | No newline at end of file |