mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-09 12:29:31 +00:00
update extra id in find trade logic
This commit is contained in:
parent
5131d41028
commit
75dd44a11e
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue