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
After downloading the repository and running it I get the following error:
throw new Error('Not enough balance');
which comes from the following method:
// Making sure that the amount sent is not greater than existing balance
if (this.getBalanceOfAddress(transaction.fromAddress) < transaction.amount) {
throw new Error('Not enough balance');
}
The only way I was able to make the code work is by removing such method. Is there any solution to make it function correctly please?
The text was updated successfully, but these errors were encountered:
After downloading the repository and running it I get the following error:
which comes from the following method:
The only way I was able to make the code work is by removing such method. Is there any solution to make it function correctly please?
The text was updated successfully, but these errors were encountered: