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
Current dev version at least.
Wayt to reproduce bug:
`
create singlekeywallet
make exportX( "1000000000", "C",) ... you will get "Insufficient Funds error"
How I fixed it
async exportX(amountAvax: string, destination:ExportChainsX): Promise<string> {
// const fee: BN = xChain.getDefaultTxFee();
const amount:BN = new BN(amountAvax);
// FIX make SingleWallet to update it's uxtos
const uxtos = await this.swallet.updateUtxosX()
console.log("destination fro X to ", destination2);//, uxtos);
return this.swallet.exportXChain(amount, destination2);
}
I think there should be way to refresh Wallet state after constructing it / I understand the need separate routines which makes network calls and which are not
The text was updated successfully, but these errors were encountered:
Current dev version at least.
Wayt to reproduce bug:
`
... you will get "Insufficient Funds error"
How I fixed it
I think there should be way to refresh Wallet state after constructing it / I understand the need separate routines which makes network calls and which are not
The text was updated successfully, but these errors were encountered: