Add debugging for shielded decode

This commit is contained in:
Rene Vergara 2023-09-28 15:26:56 -05:00
parent 5f32fd1142
commit f0d1e933c6
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -1879,6 +1879,11 @@ scanTxNative pipe db nodeUser nodePwd = do
if isValidSaplingViewingKey (E.encodeUtf8 k)
then do
print "decoding Sapling tx"
let i =
concatMap
rt_shieldedOutputs
(filter (\y -> rt_shieldedOutputs y /= []) txList)
print i
let decodedTxList =
map
(decodeSaplingOutput (bytes (decodeBech32 $ E.encodeUtf8 k)))