nash-io / openlimits

A Rust high performance cryptocurrency trading API with support for multiple exchanges and language wrappers.
http://openlimits.io
BSD 2-Clause "Simplified" License
278 stars 44 forks source link

Remove mutability of self in Exchange get methods #76

Closed mankinskin closed 4 years ago

mankinskin commented 4 years ago

75

mohammadowaisssss commented 4 years ago

Checks cleared.

ghost commented 4 years ago

I would prefere using non mut version of mut but this will prevent nash from using openlimits. Nash uses a pool of MPC keys that needs to be mutated when doing some signatures.

@Ejhfast that would be good to opensource the nash rust sdk so people start seeing why we need to use mut self.