Disable logging transactions
This commit is contained in:
parent
f3c696fa1d
commit
dbcc35ff1c
@ -1908,12 +1908,16 @@ func SubmitTransaction(ctx context.Context, b Backend, tx *types.Transaction) (c
|
||||
return common.Hash{}, err
|
||||
}
|
||||
|
||||
_ = from
|
||||
|
||||
/**
|
||||
if tx.To() == nil {
|
||||
addr := crypto.CreateAddress(from, tx.Nonce())
|
||||
log.Info("Submitted contract creation", "hash", tx.Hash().Hex(), "from", from, "nonce", tx.Nonce(), "contract", addr.Hex(), "value", tx.Value())
|
||||
} else {
|
||||
log.Info("Submitted transaction", "hash", tx.Hash().Hex(), "from", from, "nonce", tx.Nonce(), "recipient", tx.To(), "value", tx.Value())
|
||||
}
|
||||
**/
|
||||
return tx.Hash(), nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user