Closed MrKoberman closed 3 months ago
The best value block was not selected.
bestScore is a pointer to a big.Int, and when you do bestScore = resp.score, you're changing the pointer itself, not the data it points to. This change will not be visible outside the function.
bestScore
big.Int
bestScore = resp.score
Bug
The best value block was not selected.
bestScore
is a pointer to abig.Int
, and when you dobestScore = resp.score
, you're changing the pointer itself, not the data it points to. This change will not be visible outside the function.