From ea573756e19455c219fe51c840b24cce5f028b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miodrag=20Popovi=C4=87?= Date: Fri, 19 Jun 2020 09:55:59 +0200 Subject: [PATCH] Fix for new Z address generation --- src/rpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc.cpp b/src/rpc.cpp index 778cdc4..6134c20 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -158,7 +158,7 @@ void RPC::newZaddr(const std::function& cb) { {"jsonrpc", "1.0"}, {"id", "someid"}, {"method", "z_getnewaddress"}, - {"params", { "sapling" }}, + {"params", QJsonArray { "sapling" }}, }; conn->doRPCWithDefaultErrorHandling(payload, cb);