Fixed BigNumber toBigInt return type (#1485).
This commit is contained in:
parent
c0daf437f7
commit
c086962302
@ -190,7 +190,7 @@ export class BigNumber implements Hexable {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
toBigInt(): BigInt {
|
toBigInt(): bigint {
|
||||||
try {
|
try {
|
||||||
return BigInt(this.toString());
|
return BigInt(this.toString());
|
||||||
} catch (e) { }
|
} catch (e) { }
|
||||||
|
Loading…
Reference in New Issue
Block a user