Skip to content

Commit

Permalink
fix increment (#2367)
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene authored Mar 5, 2025
1 parent 15426c4 commit 1e83f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/host/l1/dataservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,5 +407,5 @@ func getEnclaveIdFromLog(log types.Log) (gethcommon.Address, error) {
}

func increment(i *big.Int) *big.Int {
return i.Add(i, one)
return big.NewInt(0).Add(i, one)
}

0 comments on commit 1e83f96

Please sign in to comment.