OpenBazaar / OpenBazaar-Server

(Deprecated) OpenBazaar 1.0 Server daemon for communication with OpenBazaar-Client
MIT License
609 stars 175 forks source link

Make capitalization consistent on DISPUTE_OPEN and DISPUTE_CLOSE. #506

Open jjeffryes opened 7 years ago

jjeffryes commented 7 years ago

The "DISPUTE_OPEN" and "DISPUTE_CLOSE" values are sent in lower case from the get_notifications API, which makes them inconsistent with the values in all caps sent from the web socket API.

The values should always be the same.

Ideally other transaction and notification state values should follow the same format, such as "new order".