mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
fix lint
This commit is contained in:
parent
960d6c336e
commit
4c075f62cd
1 changed files with 0 additions and 2 deletions
|
|
@ -706,7 +706,6 @@ func (ec *Client) SendRawTransactionSync(
|
||||||
tx *types.Transaction,
|
tx *types.Transaction,
|
||||||
timeout time.Duration,
|
timeout time.Duration,
|
||||||
) (*types.Receipt, error) {
|
) (*types.Receipt, error) {
|
||||||
|
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
if err := tx.EncodeRLP(&buf); err != nil {
|
if err := tx.EncodeRLP(&buf); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
@ -720,7 +719,6 @@ func (ec *Client) SendRawTransactionSyncRaw(
|
||||||
rawTx []byte,
|
rawTx []byte,
|
||||||
timeout time.Duration,
|
timeout time.Duration,
|
||||||
) (*types.Receipt, error) {
|
) (*types.Receipt, error) {
|
||||||
|
|
||||||
var out *types.Receipt
|
var out *types.Receipt
|
||||||
|
|
||||||
// Build params: raw bytes as hex, plus optional timeout as hexutil.Uint64
|
// Build params: raw bytes as hex, plus optional timeout as hexutil.Uint64
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue