Skip to content

Commit

Permalink
Removes Debug Log (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalverra authored Nov 2, 2023
1 parent e7d72a7 commit 8b9de03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions networks/known_networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -731,14 +731,13 @@ func setKeys(network *blockchain.EVMNetwork, walletKeys []string) {
walletKeys[keyIndex] = strings.TrimPrefix(walletKeys[keyIndex], "0x")
}
network.PrivateKeys = walletKeys
fmt.Println("network.PrivateKeys", network.PrivateKeys)

// log public keys for debugging
publicKeys := []string{}
for _, key := range network.PrivateKeys {
publicKey, err := privateKeyToAddress(key)
if err != nil {
log.Fatal().Err(err).Str("Key", key).Msg("Error reading private key")
log.Fatal().Err(err).Msg("Error reading private key")
}
publicKeys = append(publicKeys, publicKey)
}
Expand Down

0 comments on commit 8b9de03

Please sign in to comment.