mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
Revert allowing nullable values for input and refund addresses
This commit is contained in:
parent
47764835c3
commit
cbe31aa5aa
1 changed files with 2 additions and 2 deletions
|
@ -128,8 +128,8 @@ class ChangeNowExchangeProvider extends ExchangeProvider {
|
||||||
|
|
||||||
final responseJSON = json.decode(response.body) as Map<String, dynamic>;
|
final responseJSON = json.decode(response.body) as Map<String, dynamic>;
|
||||||
final id = responseJSON['id'] as String;
|
final id = responseJSON['id'] as String;
|
||||||
final inputAddress = responseJSON['payinAddress'] as String?;
|
final inputAddress = responseJSON['payinAddress'] as String;
|
||||||
final refundAddress = responseJSON['refundAddress'] as String?;
|
final refundAddress = responseJSON['refundAddress'] as String;
|
||||||
final extraId = responseJSON['payinExtraId'] as String?;
|
final extraId = responseJSON['payinExtraId'] as String?;
|
||||||
|
|
||||||
return Trade(
|
return Trade(
|
||||||
|
|
Loading…
Reference in a new issue