mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-20 06:08:34 +02:00
CWA-169 | added trades to exchange trade store in router
This commit is contained in:
@@ -206,7 +206,7 @@ class MorphTokenExchangeProvider extends ExchangeProvider {
|
||||
final state = TradeState.deserialize(raw: status.toLowerCase());
|
||||
|
||||
String amount = "";
|
||||
for (final trade in trades.values.toList()) {
|
||||
for (final trade in trades.values) {
|
||||
if (trade.id == id) {
|
||||
amount = trade.amount;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user