From b36f1240b0889a456621a68d68798eed920b830e Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Thu, 28 Sep 2023 13:37:23 -0500 Subject: [PATCH] Correct call to `getrawtransaction` --- src/ZGoBackend.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZGoBackend.hs b/src/ZGoBackend.hs index 16f3298..887dfff 100644 --- a/src/ZGoBackend.hs +++ b/src/ZGoBackend.hs @@ -1861,7 +1861,7 @@ scanTxNative pipe db nodeUser nodePwd = do nodeUser nodePwd "getrawtransaction" - [Data.Aeson.String txid] + [Data.Aeson.String txid, Number $ SC.scientific 1 0] let content = getResponseBody txInfo :: RpcResponse RawTxResponse if isNothing (err content) then return $ result content