drift-labs / drift-rs

rust sdk to interact with drift v2
Apache License 2.0
22 stars 15 forks source link

Remove async #27

Closed aoikurokawa closed 7 months ago

aoikurokawa commented 7 months ago

Motivation

Solution

jordy25519 commented 7 months ago

ty ! needs a cargo fmt

aoikurokawa commented 7 months ago

Thank you! I did cargo fmt. One more thing that I fixed is error handling. I think returning SdkError is better than expect() when can not find the user.