Skip to content

Commit

Permalink
logs: compress pubkey in logs (ethereum#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
tynes authored Oct 23, 2020
1 parent e2c3c27 commit 05e5449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup/transaction_ingestion.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (t *TxIngestion) loop() {
panic("Transaction ingestion requires a private key")
}

hex := hexutil.Encode(crypto.FromECDSAPub(&t.key.PublicKey))
hex := hexutil.Encode(crypto.CompressPubkey(&t.key.PublicKey))
address := crypto.PubkeyToAddress(t.key.PublicKey)
log.Info("Starting transaction ingestion", "key", hex, "address", address.Hex())

Expand Down

0 comments on commit 05e5449

Please sign in to comment.