Skip to content

Commit

Permalink
remove full log
Browse files Browse the repository at this point in the history
  • Loading branch information
boojamya committed Jan 30, 2024
1 parent 467c56f commit f842b9f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ethereum/broadcast.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,9 @@ func (e *Ethereum) attemptBroadcast(
if err == nil {
msg.Status = types.Complete

fullLog, err := tx.MarshalJSON()
if err != nil {
logger.Error("error marshalling eth tx log", err)
}

msg.DestTxHash = tx.Hash().Hex()

logger.Info(fmt.Sprintf("Successfully broadcast %s to Ethereum. Tx hash: %s, FULL LOG: %s", msg.SourceTxHash, msg.DestTxHash, string(fullLog)))
logger.Info(fmt.Sprintf("Successfully broadcast %s to Ethereum. Tx hash: %s", msg.SourceTxHash, msg.DestTxHash))

return nil
}
Expand Down

0 comments on commit f842b9f

Please sign in to comment.