From 234efdb89f2d297c399456b125484e3826c5bf0c Mon Sep 17 00:00:00 2001 From: Solovyov1796 Date: Wed, 12 Jun 2024 01:47:42 +0800 Subject: [PATCH] keep the EthSecp256k1 from cosmos for compatible --- cmd/0gchaind/root.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/0gchaind/root.go b/cmd/0gchaind/root.go index 6c530617..07e589fe 100644 --- a/cmd/0gchaind/root.go +++ b/cmd/0gchaind/root.go @@ -34,8 +34,8 @@ import ( func customKeyringOptions() keyring.Option { return func(options *keyring.Options) { - options.SupportedAlgos = append(options.SupportedAlgos, vrf.VrfAlgo, hd.EthSecp256k1) - options.SupportedAlgosLedger = append(options.SupportedAlgosLedger, vrf.VrfAlgo, hd.EthSecp256k1) + options.SupportedAlgos = append(hd.SupportedAlgorithms, vrf.VrfAlgo) + options.SupportedAlgosLedger = append(hd.SupportedAlgorithmsLedger, vrf.VrfAlgo) } }