Unified Address support #8
1 changed files with 3 additions and 1 deletions
|
@ -1879,11 +1879,13 @@ scanTxNative pipe db nodeUser nodePwd = do
|
|||
if isValidSaplingViewingKey (E.encodeUtf8 k)
|
||||
then do
|
||||
print "decoding Sapling tx"
|
||||
let rawKey = decodeBech32 $ E.encodeUtf8 k
|
||||
print rawKey
|
||||
let i = concatMap rt_shieldedOutputs txList
|
||||
print i
|
||||
let decodedTxList =
|
||||
map
|
||||
(decodeSaplingOutput (bytes (decodeBech32 $ E.encodeUtf8 k)))
|
||||
(decodeSaplingOutput $ bytes rawKey)
|
||||
(concatMap rt_shieldedOutputs txList)
|
||||
print decodedTxList
|
||||
else do
|
||||
|
|
Loading…
Reference in a new issue