Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
BedrockSquirrel committed Jun 26, 2024
1 parent b34d032 commit 8e04401
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions go/enclave/rpc/GetCustomQuery.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package rpc
import (
"fmt"

gethcommon "github.com/ethereum/go-ethereum/common"
"github.com/ten-protocol/go-ten/go/common"
"github.com/ten-protocol/go-ten/go/common/gethencoding"
)
Expand Down Expand Up @@ -32,7 +31,7 @@ func GetCustomQueryExecute(builder *CallBuilder[common.ListPrivateTransactionsQu
builder.Err = err
return nil //nolint:nilerr
}
addr := gethcommon.Address(builder.Param.Address)
addr := builder.Param.Address
encryptReceipts, err := rpc.storage.GetTransactionsPerAddress(builder.ctx, &addr, &builder.Param.Pagination)
if err != nil {
return fmt.Errorf("GetTransactionsPerAddress - %w", err)
Expand Down

0 comments on commit 8e04401

Please sign in to comment.