Skip to content

Commit 7f09c70

Browse files
committed
add return
1 parent 283bb70 commit 7f09c70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eth/api.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,8 @@ func (api *ScrollAPI) ResetSkippedTransactionsTraces(ctx context.Context, from u
777777
return hashes, nil
778778
}
779779

780-
func (api *ScrollAPI) ResetSkippedTransactionTracesByHash(ctx context.Context, hash common.Hash) {
780+
func (api *ScrollAPI) ResetSkippedTransactionTracesByHash(ctx context.Context, hash common.Hash) error {
781781
stx := rawdb.ReadSkippedTransaction(api.eth.ChainDb(), hash)
782782
rawdb.WriteSkippedTransaction(api.eth.ChainDb(), stx.Tx, nil, stx.Reason, stx.BlockNumber, stx.BlockHash)
783+
return nil
783784
}

0 commit comments

Comments
 (0)