after claiming money, merchant tried to update from PendingClose instead of PendingMerchantClaim
after seeing a successful expiry, customer tried to update from PendingClose instead of PendingExpiry
merchant could initiate an expiry from any state, instead of just the valid ones. This would fail on-chain but would make the database status wrong.
closes #246
@indomitableSwan - would like a confirmation of the statuses from which it is valid to initiate expiry
@darius - would like confirmation that this fixes your bug (it does on my end)
fixes 3 status update related bugs
PendingClose
instead ofPendingMerchantClaim
PendingClose
instead ofPendingExpiry
closes #246
@indomitableSwan - would like a confirmation of the statuses from which it is valid to initiate expiry @darius - would like confirmation that this fixes your bug (it does on my end)