Skip to content

Commit

Permalink
Fix receipt var read
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielbosio committed Sep 9, 2024
1 parent ac182d3 commit 122a6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aggregator/internal/pkg/aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func (agg *Aggregator) handleBlsAggServiceResponse(blsAggServiceResp blsagg.BlsA
"batchIdentifierHash", "0x"+hex.EncodeToString(batchIdentifierHash[:]))

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

Expand Down

0 comments on commit 122a6ab

Please sign in to comment.