Closed kikipluche closed 6 years ago
Nice find! I will add a check on both instances: reply & fund. @kingflurkel check the reply function in contract
@xardass i saw you already implemented the check on the front end, can you change the copy to thus: "You have insufficient funds to participate in this deal."
@xardass also, the check is done when replying as provider, but not yet when i fund after being selected. So can we have a second check there? Thanks
@kikipluche Check added to funding (accepting being selected) & reply, and I changed the sentence. Check & close
@kingflurkel do you still want to add something on contract level?
Location
detail
Expected behavior
when i have unsufficient funds to reply to a certain deal (amount + fee) i get an error message "insufficient funds"
Actual behavior
provider with unsufficient funds can proceed, reply to a deal, the seeker can accept , provider can fund the deal, deal seems successful for provider, but seeker is stuck on "you selected..." what provider sees: (incorrect, because the deal cannot be funded with insufficient funds"
what seeker sees: still on selected (correct, since the deal cannot be funded by the provider)
Steps to reproduce the problem
reply to a deal that has more SWT on it than i have
Operating system / hardware
all