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;
|
||||
}
|
||||
|
||||
toBigInt(): BigInt {
|
||||
toBigInt(): bigint {
|
||||
try {
|
||||
return BigInt(this.toString());
|
||||
} catch (e) { }
|
||||
|
Loading…
Reference in New Issue
Block a user