mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00
add comment
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
4263b09835
commit
053f38cf0d
@ -96,6 +96,7 @@ func Asset(sk string) (string, string) {
|
||||
}
|
||||
|
||||
func LiquidKeyPair() (string, string) {
|
||||
// Ignore errors as keypair was tested beforehand
|
||||
seed, _ := bip39.NewSeedWithErrorChecking(Mnemonic, keyring.DefaultBIP39Passphrase)
|
||||
xprivKey, _ := hdkeychain.NewMaster(seed, &chaincfg.MainNetParams)
|
||||
xpubKey, _ := xprivKey.Neuter()
|
||||
|
Loading…
x
Reference in New Issue
Block a user