cashninjas/ninjas.cash

No error on insufficient funds

monsterbitar opened this issue · 2 comments

I tried to mint a ninja and it just said building transaction 1/1.

When I looked into the console it says:

Error: Insufficient funds: available (110002000) < needed (110002511).

Given that the cost to mint is supposed to be 0.05 BCH, I don't intuitively understand what these numbers correspond to, but there should be a user-interface error shown that helps the user resolve the situation.

Noted, we are adding better error handling for this case.

I have pushed changes that dramatically improve the error handling. Thanks for pointing this out. =)