This issue can be reproduced in the reorg_works unit test. If the transfer amount is set below a certain threshold (e.g., changing SLOT1_TO_CHARLIE to 200,000), the sender’s remaining balance after the transaction does not match the expected value. Specifically, Alice’s balance after the transaction is ALICE_INIT_BALANCE - FEE instead of the expected ALICE_INIT_BALANCE - SLOT1_TO_CHARLIE - FEE.
This issue can be reproduced in the
reorg_worksunit test. If the transfer amount is set below a certain threshold (e.g., changingSLOT1_TO_CHARLIEto200,000), the sender’s remaining balance after the transaction does not match the expected value. Specifically, Alice’s balance after the transaction isALICE_INIT_BALANCE - FEEinstead of the expectedALICE_INIT_BALANCE - SLOT1_TO_CHARLIE - FEE.