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)
|
if isValidSaplingViewingKey (E.encodeUtf8 k)
|
||||||
then do
|
then do
|
||||||
print "decoding Sapling tx"
|
print "decoding Sapling tx"
|
||||||
|
let rawKey = decodeBech32 $ E.encodeUtf8 k
|
||||||
|
print rawKey
|
||||||
let i = concatMap rt_shieldedOutputs txList
|
let i = concatMap rt_shieldedOutputs txList
|
||||||
print i
|
print i
|
||||||
let decodedTxList =
|
let decodedTxList =
|
||||||
map
|
map
|
||||||
(decodeSaplingOutput (bytes (decodeBech32 $ E.encodeUtf8 k)))
|
(decodeSaplingOutput $ bytes rawKey)
|
||||||
(concatMap rt_shieldedOutputs txList)
|
(concatMap rt_shieldedOutputs txList)
|
||||||
print decodedTxList
|
print decodedTxList
|
||||||
else do
|
else do
|
||||||
|
|
Loading…
Reference in a new issue