fix rpc list type error

This commit is contained in:
fuwa
2019-12-28 13:47:37 +00:00
parent 516f0af04f
commit d5814dddde
+1 -1
View File
@@ -65,7 +65,7 @@ Future<String> rpc2String(final String method, {final String field}) async {
Future<http.Response> getTransactionPool() async => rpc2('get_transaction_pool');
Future<List<dynamic>> getTransactionPoolSimple() async {
Future<List<Map<String, dynamic>>> getTransactionPoolSimple() async {
final response = await getTransactionPool();
if (response == null) return [];