Skip to content

Commit

Permalink
add CounterManager.Query/90
Browse files Browse the repository at this point in the history
  • Loading branch information
mossid committed Jun 11, 2019
1 parent 09e2993 commit 974c898
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions x/ibc/03-connection/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ func (man Manager) Query(ctx sdk.Context, key string) (obj Object, err error) {
return
}

// XXX: add HasProof() method to commitment.Store, and check it here
func (man CounterpartyManager) Query(id string) CounterObject {
return man.object(id)
}

type NihiloObject Object

type Object struct {
Expand Down

0 comments on commit 974c898

Please sign in to comment.