From cef0b12d3665540a255b4f2fd719d7575f8d0833 Mon Sep 17 00:00:00 2001 From: CHAMI Rachid Date: Sun, 5 Nov 2023 22:23:27 +0100 Subject: [PATCH 1/2] Update cmd/blobstream/keys/evm/evm.go --- cmd/blobstream/keys/evm/evm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/blobstream/keys/evm/evm.go b/cmd/blobstream/keys/evm/evm.go index 5c84e09b..a8300b4e 100644 --- a/cmd/blobstream/keys/evm/evm.go +++ b/cmd/blobstream/keys/evm/evm.go @@ -637,7 +637,7 @@ func GetNewPassphrase() (string, error) { } // MnemonicToPrivateKey derives a private key from the provided mnemonic -// It uses the geth.LegacyLedgerBaseDerivationPath, i.e. m/44'/60'/0'/0, to generate +// It uses the Ledger derivation path, geth.LegacyLedgerBaseDerivationPath, i.e. m/44'/60'/0'/0, to generate // the first private key. func MnemonicToPrivateKey(mnemonic string, passphrase string) (*ecdsa.PrivateKey, error) { // create the master key From 531ddb598f2bc72fa3222395ce577bc9b7ae3759 Mon Sep 17 00:00:00 2001 From: CHAMI Rachid Date: Sun, 5 Nov 2023 22:23:32 +0100 Subject: [PATCH 2/2] Update cmd/blobstream/keys/evm/evm.go --- cmd/blobstream/keys/evm/evm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/blobstream/keys/evm/evm.go b/cmd/blobstream/keys/evm/evm.go index a8300b4e..4565780a 100644 --- a/cmd/blobstream/keys/evm/evm.go +++ b/cmd/blobstream/keys/evm/evm.go @@ -636,7 +636,7 @@ func GetNewPassphrase() (string, error) { return string(bzPassphrase), nil } -// MnemonicToPrivateKey derives a private key from the provided mnemonic +// MnemonicToPrivateKey derives a private key from the provided mnemonic. // It uses the Ledger derivation path, geth.LegacyLedgerBaseDerivationPath, i.e. m/44'/60'/0'/0, to generate // the first private key. func MnemonicToPrivateKey(mnemonic string, passphrase string) (*ecdsa.PrivateKey, error) {