Open MSevey opened 6 years ago
[WIP]
The expected behavior would be that the allowance is not created as the renter does not have the funds available to see the allowance to the end of the period.
If the renter starts with 5000SC in their wallet and creates an allowance of 5000SC. Then after the initial contracts are created, the renter transfers 2500SC to another wallet.
Contracts fail to be renewed.
Need to write tests in order to see how the renter's allowance and contract formation is impacted by other wallet transactions.
For example: Renter has 1000SC in wallet and sets allowance of 1000SC. After initial contracts are formed the renter sends SC to someone else.