Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

OrderWatcher - when OrderState IsValid, OrderRelevantState is not returned #1708

Closed
pointtoken opened this issue Mar 18, 2019 · 2 comments
Closed

Comments

@pointtoken
Copy link

Expected Behavior

When using the OrderWatcher, when the callback receives a message and OrderState is valid, the OrderRelevantState property should have a value.

Current Behavior

When using the OrderWatcher, when the callback receives a message and OrderState is valid, the OrderRelevantState property is null.

Possible Solution

Not sure why it is null -- we need the order on a valid transaction so we can calculate the remaining available balance in the order for our own purposes.

@dekz
Copy link
Member

dekz commented Mar 18, 2019

Hmm this sounds strange. It should definitely be populated to tell you the remaining amount. Can you put in some console.logs so we can get some insight into what you're seeing?

@pointtoken
Copy link
Author

Hmm, things seem to be working! Closing...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants