Skip to content

Commit

Permalink
Reduce max forwarding to 16 (#6610)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisJim authored Jun 17, 2024
1 parent c00ddd9 commit fc6c111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/apps/transfer/types/forwarding.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
host "github.com/cosmos/ibc-go/v8/modules/core/24-host"
)

const MaximumNumberOfForwardingHops = 64
const MaximumNumberOfForwardingHops = 16 // denotes the maximum number of forwarding hops allowed

// NewForwarding creates a new Forwarding instance given a memo and a variable number of hops.
func NewForwarding(memo string, hops ...Hop) *Forwarding {
Expand Down

0 comments on commit fc6c111

Please sign in to comment.