You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems there is a bug, we are using Math.max for BigInt numbers, which is not supported.
When using wallet.getNumBlocksToUnlock() I get the following error:
TypeError: Cannot convert a BigInt value to a number
at Math.max (<anonymous>)
at MoneroWalletFull.getNumBlocksToUnlock (/home/sina/Projects/pouch-js/node_modules/monero-ts/src/main/ts/wallet/MoneroWallet.ts:448:38)
at <anonymous> (/home/sina/Projects/pouch-js/test.ts:21:19)
The text was updated successfully, but these errors were encountered:
Hello,
It seems there is a bug, we are using
Math.max
for BigInt numbers, which is not supported.When using
wallet.getNumBlocksToUnlock()
I get the following error:The text was updated successfully, but these errors were encountered: