Transparent fix 2
This commit is contained in:
parent
2c58d1260a
commit
0a98246855
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ genTransparentPrvKey :: Seed -> CoinType -> AccountId -> IO XPrvKey
|
||||||
genTransparentPrvKey hdseed ctype accid = do
|
genTransparentPrvKey hdseed ctype accid = do
|
||||||
let coin = getValue ctype
|
let coin = getValue ctype
|
||||||
ioCtx <- createContext
|
ioCtx <- createContext
|
||||||
let path = Deriv :| 44 :| 133 :| coin :/ 0 :/ 0 :: DerivPath
|
let path = Deriv :| 44 :| coin :| AccounId :/ 0 :/ 0 :: DerivPath
|
||||||
let prvKey = makeXPrvKey hdseed
|
let prvKey = makeXPrvKey hdseed
|
||||||
return $ derivePath ioCtx path prvKey
|
return $ derivePath ioCtx path prvKey
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue