Jump to content
McKay Development

The balance is showing as a negative number.


Recommended Posts

country is ID

The actual balance is 22,517,929.24

After logging in, a wallet event was triggered, and it's showing an incorrect balance of -20431743.72

 

Could anyone help me understand what might be going wrong and guide me on how to fix it?

Edited by miaomiaomiao
add content
Link to comment
Share on other sites

  • 2 weeks later...
Received wallet info update: {
  has_wallet: true,
  balance: -2132471336,
  currency: 15,
  balance_delayed: 0,
  balance64: '2162495960',
  balance64_delayed: '0',
  realm: 1
}
this is a wallet event  balance64 is Correct 

 

// source code

this.emit('wallet', body.has_wallet, body.currency, body.balance / 100);
this.wallet = {
    hasWallet: body.has_wallet,
    currency: body.currency,
    balance: body.balance / 100
};

body.balance  use body.balance64 is ok

doctor can update this?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...