From d5814dddde45c47074e35665a334e07d8c393381 Mon Sep 17 00:00:00 2001 From: fuwa Date: Fri, 27 Dec 2019 10:40:30 +0000 Subject: [PATCH] fix rpc list type error --- cyberwow/lib/controller/rpc/rpc2.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyberwow/lib/controller/rpc/rpc2.dart b/cyberwow/lib/controller/rpc/rpc2.dart index 4f7d356..de7e471 100644 --- a/cyberwow/lib/controller/rpc/rpc2.dart +++ b/cyberwow/lib/controller/rpc/rpc2.dart @@ -65,7 +65,7 @@ Future rpc2String(final String method, {final String field}) async { Future getTransactionPool() async => rpc2('get_transaction_pool'); -Future> getTransactionPoolSimple() async { +Future>> getTransactionPoolSimple() async { final response = await getTransactionPool(); if (response == null) return [];