lint : fix lint

This commit is contained in:
Shivam Sharma 2022-11-21 18:28:23 +05:30
parent 3008b04252
commit 5f8f8988ec

View file

@ -1616,6 +1616,7 @@ type PublicTransactionPoolAPI struct {
} }
// returns block transactions along with state-sync transaction if present // returns block transactions along with state-sync transaction if present
// nolint: unparam
func (api *PublicTransactionPoolAPI) getAllBlockTransactions(ctx context.Context, block *types.Block) (types.Transactions, bool) { func (api *PublicTransactionPoolAPI) getAllBlockTransactions(ctx context.Context, block *types.Block) (types.Transactions, bool) {
txs := block.Transactions() txs := block.Transactions()