mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Add nullability to status String [skip ci]
This commit is contained in:
@@ -252,7 +252,7 @@ class SideShiftExchangeProvider extends ExchangeProvider {
|
||||
String? status;
|
||||
|
||||
if (deposits?.isNotEmpty ?? false) {
|
||||
status = deposits![0]['status'] as String;
|
||||
status = deposits![0]['status'] as String?;
|
||||
}
|
||||
state = TradeState.deserialize(raw: status ?? 'created');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user