fix bigint type (#1079)

This commit is contained in:
Nantian
2021-08-12 10:00:58 +02:00
committed by GitHub
parent 0202a1f1d4
commit 2e4de2093c
15 changed files with 22 additions and 22 deletions
@@ -13,6 +13,6 @@ import { createKeyMulti } from './keyMulti';
* @description
* Creates a Substrate multisig address based on the input address and the required threshold.
*/
export function encodeMultiAddress (who: (Uint8Array | string)[], threshold: BigInt | BN | number, ss58Format?: Prefix): string {
export function encodeMultiAddress (who: (Uint8Array | string)[], threshold: bigint | BN | number, ss58Format?: Prefix): string {
return encodeAddress(createKeyMulti(who, threshold), ss58Format);
}