sdk
sdk copied to clipboard
fix: 🐛 type cast error in apiTx.dart
The bug produced when use signAndSend or estimateFees in apiTx.
I/flutter (22736): #0 ApiTx.signAndSend (package:polkawallet_sdk/api/apiTx.dart:53:7)I/flutter (22736): #1 I/flutter (22736): I/flutter (22736): type ‘Future<Map<dynamic, dynamic>?>’ is not a subtype of type ‘FutureOr<Map<dynamic, dynamic>>’ in type cast
fix here: https://github.com/polkawallet-io/sdk/pull/25/commits/b3897202d084fe8ecd419ec3bc125c077145f9a5
and here: https://github.com/polkawallet-io/sdk/pull/25/commits/9840c18ae82c185659647ee4614f70d4a1605249
fixed