Unified Address support #8
1 changed files with 2 additions and 7 deletions
|
@ -1879,17 +1879,12 @@ 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 =
|
let i = concatMap rt_shieldedOutputs txList
|
||||||
concatMap
|
|
||||||
rt_shieldedOutputs
|
|
||||||
(filter (\y -> rt_shieldedOutputs y /= []) txList)
|
|
||||||
print i
|
print i
|
||||||
let decodedTxList =
|
let decodedTxList =
|
||||||
map
|
map
|
||||||
(decodeSaplingOutput (bytes (decodeBech32 $ E.encodeUtf8 k)))
|
(decodeSaplingOutput (bytes (decodeBech32 $ E.encodeUtf8 k)))
|
||||||
(concatMap
|
(concatMap rt_shieldedOutputs txList)
|
||||||
rt_shieldedOutputs
|
|
||||||
(filter (\x -> rt_shieldedOutputs x /= []) txList))
|
|
||||||
print decodedTxList
|
print decodedTxList
|
||||||
else do
|
else do
|
||||||
let vk = decodeUfvk $ E.encodeUtf8 k
|
let vk = decodeUfvk $ E.encodeUtf8 k
|
||||||
|
|
Loading…
Reference in a new issue