From b8ed70c775b8a30ed5ccbae5a8e4d3ba07ccdb42 Mon Sep 17 00:00:00 2001 From: Solovyov1796 Date: Wed, 12 Jun 2024 02:00:16 +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 d4e3f5a0..fab91152 100644 --- a/cmd/0gchaind/root.go +++ b/cmd/0gchaind/root.go @@ -31,8 +31,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) } }