gateio / gateapi-python

247 stars 92 forks source link

ValueError when validate status field in LedgerRecord model. #73

Closed ehdgks0627 closed 2 years ago

ehdgks0627 commented 2 years ago

In LedgerRecord, status field setter allow only ["DONE", "CANCEL", "REQUEST", "MANUAL", "BCODE"]. But withdrawals row has "EXTPEND" status.

Why don't we add "EXTPEND" value to allowed_values?

revilwang commented 2 years ago

Thanks for reporting. I'll look into this issue.

revilwang commented 2 years ago

Problem fixed, you can use pip install --upgrade gate-api==4.22.2 to upgrade to the newest version