Correct call to getrawtransaction

This commit is contained in:
Rene Vergara 2023-09-28 13:37:23 -05:00
parent 181f4bb749
commit b36f1240b0
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -1861,7 +1861,7 @@ scanTxNative pipe db nodeUser nodePwd = do
nodeUser nodeUser
nodePwd nodePwd
"getrawtransaction" "getrawtransaction"
[Data.Aeson.String txid] [Data.Aeson.String txid, Number $ SC.scientific 1 0]
let content = getResponseBody txInfo :: RpcResponse RawTxResponse let content = getResponseBody txInfo :: RpcResponse RawTxResponse
if isNothing (err content) if isNothing (err content)
then return $ result content then return $ result content