Savjee/SavjeeCoin

Account balance can't be negative

markostojanovic087 opened this issue · 2 comments

image

Image attached shows the transactions that lead to negative balance on account.
The transaction should not be executed if the user doesn't have enough money.
I suppose the Wallet should be added.

Yep, this shouldn't be possible. It was mainly done for demonstration purposes so you don't have to mine blocks before being able to create transactions.

I'll try to add a simple check soon ;)

This is now fixed by 4334165
(Thanks to @hasezoey )