OpenBazaar / openbazaar-go

OpenBazaar 2.0 Server Daemon in Go
MIT License
992 stars 284 forks source link

"Unknown Script Type" When Accepting a Dispute Resolution #1651

Open jjeffryes opened 4 years ago

jjeffryes commented 4 years ago

A purchase was made from a Haven node to a 2.3.4 RC4 node.

The purchase was disputed, the Haven node accepted the resolution.

Later, when the 2.3.4 node accepted the resolution, and the releasefunds call was made, it returned an "Unknown Script Type" error.

ob.log

jjeffryes commented 4 years ago

This bug is still present in 2.3.5 RC2.

I reproduced it as follows:

  1. The seller node was turned off.
  2. The buyer made an order and disputed it.The order was paid in BCH.
  3. The moderator decided the order.
  4. The buyer accepted the decision, 100% in favor of the buyer (the seller's contract was not available).
  5. The seller node was turned on, and saw the dispute resolution.
  6. The seller attempted to accept the dispute resolution.
jjeffryes commented 4 years ago

When this happens, the seller's node has the order stuck in DECIDED, and can't accept the payout.

hoffmabc commented 4 years ago

@jjeffryes can you please validate this is still an issue in the latest version? thank you.

jjeffryes commented 4 years ago

This is still 100% reproducible using current master for the seller and moderator, and current develop for Haven.