ethclient: fix formatting to satisfy goimports

This commit is contained in:
Tinu280 2025-11-16 02:03:25 +07:00
parent 0308236cbf
commit cd961c1f5c
11 changed files with 38 additions and 20 deletions

View file

@ -11,10 +11,11 @@
package trezor
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
const (

View file

@ -11,10 +11,11 @@
package trezor
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
const (

View file

@ -11,10 +11,11 @@
package trezor
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
const (

View file

@ -11,11 +11,12 @@
package trezor
import (
reflect "reflect"
sync "sync"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
descriptorpb "google.golang.org/protobuf/types/descriptorpb"
reflect "reflect"
sync "sync"
)
const (

View file

@ -2,8 +2,11 @@
package bal
import "github.com/ethereum/go-ethereum/rlp"
import "io"
import (
"io"
"github.com/ethereum/go-ethereum/rlp"
)
func (obj *BlockAccessList) EncodeRLP(_w io.Writer) error {
w := rlp.NewEncoderBuffer(_w)

View file

@ -2,8 +2,11 @@
package types
import "github.com/ethereum/go-ethereum/rlp"
import "io"
import (
"io"
"github.com/ethereum/go-ethereum/rlp"
)
func (obj *StateAccount) EncodeRLP(_w io.Writer) error {
w := rlp.NewEncoderBuffer(_w)

View file

@ -2,8 +2,11 @@
package types
import "github.com/ethereum/go-ethereum/rlp"
import "io"
import (
"io"
"github.com/ethereum/go-ethereum/rlp"
)
func (obj *Header) EncodeRLP(_w io.Writer) error {
w := rlp.NewEncoderBuffer(_w)

View file

@ -2,8 +2,11 @@
package types
import "github.com/ethereum/go-ethereum/rlp"
import "io"
import (
"io"
"github.com/ethereum/go-ethereum/rlp"
)
func (obj *Log) EncodeRLP(_w io.Writer) error {
w := rlp.NewEncoderBuffer(_w)

View file

@ -2,8 +2,11 @@
package types
import "github.com/ethereum/go-ethereum/rlp"
import "io"
import (
"io"
"github.com/ethereum/go-ethereum/rlp"
)
func (obj *Withdrawal) EncodeRLP(_w io.Writer) error {
w := rlp.NewEncoderBuffer(_w)

View file

@ -949,4 +949,3 @@ func (ec *Client) SimulateV1(ctx context.Context, opts SimulateOptions, blockNrO
err := ec.c.CallContext(ctx, &result, "eth_simulateV1", opts, blockNrOrHash)
return result, err
}