Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Underflow in verify_transfer #421
Currently the code has a check
// Verify the sender has adequate balance. verify!( time_independent_only || sender_balance >= transfer.amount, Invalid::FromBalanceInsufficient(transfer.amount, sender_balance) );
Which does not account for the fee.
Steps to resolve