Skip to content

Commit 122a6ab

Browse files
committed
Fix receipt var read
1 parent ac182d3 commit 122a6ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aggregator/internal/pkg/aggregator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func (agg *Aggregator) handleBlsAggServiceResponse(blsAggServiceResp blsagg.BlsA
278278
"batchIdentifierHash", "0x"+hex.EncodeToString(batchIdentifierHash[:]))
279279

280280
for i := 0; i < MaxSentTxRetries; i++ {
281-
_, err = agg.sendAggregatedResponse(batchData.BatchMerkleRoot, batchData.SenderAddress, nonSignerStakesAndSignature)
281+
receipt, err := agg.sendAggregatedResponse(batchData.BatchMerkleRoot, batchData.SenderAddress, nonSignerStakesAndSignature)
282282
if err == nil {
283283
agg.logger.Info("Gas cost used to send aggregated response", "gasUsed", receipt.GasUsed)
284284

0 commit comments

Comments
 (0)