Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzhen1997 committed Jan 3, 2025
1 parent 11cd2f3 commit 40abc5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/capabilities/ccip/ccipsolana/executecodec.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (e *ExecutePluginCodecV1) Encode(ctx context.Context, report cciptypes.Exec
}

var msg ccip_router.Any2SolanaRampMessage
if len(chainReport.Messages) != 0 {
if len(chainReport.Messages) > 0 {
// currently only allow commiting one message at a time
message := chainReport.Messages[0]
receiver, err := solana.PublicKeyFromBase58(string(message.Receiver))
Expand Down

0 comments on commit 40abc5c

Please sign in to comment.