Skip to content

Commit

Permalink
fix: proofs query to help debug app hash #176 (#177)
Browse files Browse the repository at this point in the history
(cherry picked from commit 66442bf)

Co-authored-by: Roman <34196718+p0mvn@users.noreply.github.com>
  • Loading branch information
mergify[bot] and p0mvn authored Apr 12, 2022
1 parent 50dc766 commit b375ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/rootmulti/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ func (rs *Store) doProofsQuery(req abci.RequestQuery) abci.ResponseQuery {
}

for _, storeInfo := range commitInfo.StoreInfos {
res.ProofOps.Ops = append(res.ProofOps.Ops, commitInfo.ProofOp(storeInfo.Name))
res.ProofOps.Ops = append(res.ProofOps.Ops, crypto.ProofOp{Key: []byte(storeInfo.Name), Data: storeInfo.CommitId.Hash, })
}
return res
}
Expand Down

0 comments on commit b375ea0

Please sign in to comment.