Skip to content

Commit

Permalink
docs: add forwarding argument to NewMsgTransfer (#6895)
Browse files Browse the repository at this point in the history
* docs: add forwarding argument to NewMsgTransfer

* alignment
  • Loading branch information
crodriguezvega authored Jul 19, 2024
1 parent f41d80a commit a3082d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/docs/05-migrations/13-v8-to-v9.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ govRouter.AddRoute(govtypes.RouterKey, govv1beta1.ProposalHandler).

### ICS20 - Transfer

- With support for multidenom transfer packets, the `NewMsgTransfer` constructor function to create a new `MsgTransfer` instance now accepts multiple coins instead of just one:
- With support for multidenom transfer packets and path forwarding, the `NewMsgTransfer` constructor function to create a new `MsgTransfer` instance now accepts multiple coins instead of just one, and an argument with forwarding information:

```diff
func NewMsgTransfer(
Expand All @@ -44,6 +44,7 @@ func NewMsgTransfer(
sender, receiver string,
timeoutHeight clienttypes.Height, timeoutTimestamp uint64,
memo string,
+ forwarding *Forwarding,
)
```

Expand Down

0 comments on commit a3082d0

Please sign in to comment.