add comment

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
Lorenz Herzberger 2023-07-25 11:19:20 +02:00
parent 4263b09835
commit 053f38cf0d
No known key found for this signature in database
GPG Key ID: FA5EE906EB55316A

View File

@ -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()