Skip to content

Commit

Permalink
update: put function arguments according to the signature
Browse files Browse the repository at this point in the history
  • Loading branch information
mhrynenko committed May 17, 2024
1 parent b384f7e commit 23f952e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/api/handlers/get_gist_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func GetGistData(w http.ResponseWriter, r *http.Request) {
return
}

gistProof, err := StateContract(r).GetGISTProofByRoot(&bind.CallOpts{}, req.StateRoot, userID.BigInt())
gistProof, err := StateContract(r).GetGISTProofByRoot(&bind.CallOpts{}, userID.BigInt(), req.StateRoot)
if err != nil {
Log(r).WithError(err).Error("failed to get GIST proof")
ape.RenderErr(w, problems.InternalError())
Expand Down

0 comments on commit 23f952e

Please sign in to comment.