We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26c2032 commit cfc5ad6Copy full SHA for cfc5ad6
lib/dashboard/connection/operation/cubit/operation_cubit.dart
@@ -337,7 +337,7 @@ class OperationCubit extends Cubit<OperationState> {
337
if (json['reason'] != null) {
338
final reason = json['reason']!;
339
late ResponseString responseString;
340
- if (reason == 'contract.balance_too_low') {
+ if (reason.contains('contract.balance_too_low')) {
341
responseString = ResponseString.RESPONSE_STRING_BALANCE_TOO_LOW;
342
} else if (reason.contains('contract.cannot_pay_storage_fee')) {
343
responseString =
0 commit comments