bigbomio / digital-contracts

Bigbom Contract's smart contracts repository
https://bigbom-digital-contract.readthedocs.io/en/latest/
GNU General Public License v3.0
4 stars 4 forks source link

Prevent the Hirer call acceptPayment when the Dispute is running #75

Closed chris-tn closed 6 years ago

chris-tn commented 6 years ago

Describe the bug The hirer can accept the payment any time via . acceptPayment function, this will transfer Token to Freelancer, then if the winner of the dispute is the freelancer, the freelancer can receive Token again

Expected behavior The hirer cannot call the acceptPayment if has Dispute Vote is running