Skip to content

Commit

Permalink
fix timeout setting (#456)
Browse files Browse the repository at this point in the history
* fix timeout setting

* update changelog

* fix merge conflict
  • Loading branch information
colin-axner committed Mar 16, 2021
1 parent bca6e68 commit 2a2dd3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Relayer

* [\#456](https://github.com/cosmos/relayer/pull/456) Fix bug which incorrectly set the timeout on a transfer.
* [\#455](https://github.com/cosmos/relayer/pull/455) Set default client parameter to allow governance to update the client if expiry or misbehaviour freezing occurs.

## v0.8.3
Expand Down
2 changes: 1 addition & 1 deletion relayer/packet-tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func (c *Chain) SendTransferMsg(dst *Chain, amount sdk.Coin, dstAddr string, toH
)

// get header representing dst to check timeouts
h, err := c.GetIBCUpdateHeader(dst)
h, err := dst.GetIBCUpdateHeader(c)
if err != nil {
return err
}
Expand Down

0 comments on commit 2a2dd3b

Please sign in to comment.