From 75dd44a11e80526070326e47b93baeb3a7949e45 Mon Sep 17 00:00:00 2001 From: Godwin Asuquo Date: Tue, 11 Oct 2022 17:26:31 +0300 Subject: [PATCH] update extra id in find trade logic --- lib/exchange/simpleswap/simpleswap_exchange_provider.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/exchange/simpleswap/simpleswap_exchange_provider.dart b/lib/exchange/simpleswap/simpleswap_exchange_provider.dart index beabbdb58..225e434ac 100644 --- a/lib/exchange/simpleswap/simpleswap_exchange_provider.dart +++ b/lib/exchange/simpleswap/simpleswap_exchange_provider.dart @@ -181,6 +181,7 @@ class SimpleSwapExchangeProvider extends ExchangeProvider { final to = CryptoCurrency.fromString(toCurrency); final inputAddress = responseJSON['address_from'] as String; final expectedSendAmount = responseJSON['expected_amount'].toString(); + final extraIdTo = responseJSON['extra_id_from'] as String; final status = responseJSON['status'] as String; final state = TradeState.deserialize(raw: status); @@ -188,6 +189,7 @@ class SimpleSwapExchangeProvider extends ExchangeProvider { id: id, from: from, to: to, + extraId: extraIdTo, provider: description, inputAddress: inputAddress, amount: expectedSendAmount,