Another Scenario: New Lease is Shorter (Steem Power Rent)

in #steem6 days ago

Here is a scenario where a new payment is sent with a shorter lease period which replaces the un-finished delegation.

The undelegation cann't be done - because there is no delegation at that moment aka delegation has finished by that time already.
17c8e6bdf299281aac74bba3d52ff21.png

Here is the log.
10caefea69d1e16c2061c991551789a.png

I 've to manually update the database.

update rentsp set result="premature" where id=2214 and delegatee="kiwiscanfly",
b6974ff2fba7bf44286e460c26786ca.png

Don't worry, I've fixed the code already to automatically set the unfinished delegation status from "leasing" to "premature" to prevent such errors.

Steem to the Moon🚀!