Skip to content

Commit

Permalink
add Is() to counterobject
Browse files Browse the repository at this point in the history
  • Loading branch information
mossid committed Jun 11, 2019
1 parent ba099a1 commit b2775a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x/ibc/02-client/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ func (obj Object) Is(ctx sdk.Context, client Client) bool {
return obj.client.Is(ctx, client)
}

func (obj CounterObject) Is(ctx sdk.Context, client Client) bool {
return obj.client.Is(ctx, client)
}

func (obj Object) Update(ctx sdk.Context, header Header) error {
if !obj.exists(ctx) {
panic("should not update nonexisting client")
Expand Down

0 comments on commit b2775a4

Please sign in to comment.