Add debugging for shielded decode
This commit is contained in:
parent
5f32fd1142
commit
f0d1e933c6
1 changed files with 5 additions and 0 deletions
|
@ -1879,6 +1879,11 @@ scanTxNative pipe db nodeUser nodePwd = do
|
||||||
if isValidSaplingViewingKey (E.encodeUtf8 k)
|
if isValidSaplingViewingKey (E.encodeUtf8 k)
|
||||||
then do
|
then do
|
||||||
print "decoding Sapling tx"
|
print "decoding Sapling tx"
|
||||||
|
let i =
|
||||||
|
concatMap
|
||||||
|
rt_shieldedOutputs
|
||||||
|
(filter (\y -> rt_shieldedOutputs y /= []) txList)
|
||||||
|
print i
|
||||||
let decodedTxList =
|
let decodedTxList =
|
||||||
map
|
map
|
||||||
(decodeSaplingOutput (bytes (decodeBech32 $ E.encodeUtf8 k)))
|
(decodeSaplingOutput (bytes (decodeBech32 $ E.encodeUtf8 k)))
|
||||||
|
|
Loading…
Reference in a new issue