From 40abc5c9df6138dc5301eb971c9345e58ff9b1bf Mon Sep 17 00:00:00 2001 From: Joe Huang Date: Fri, 3 Jan 2025 14:13:26 -0600 Subject: [PATCH] minor --- core/capabilities/ccip/ccipsolana/executecodec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/capabilities/ccip/ccipsolana/executecodec.go b/core/capabilities/ccip/ccipsolana/executecodec.go index d63a5acee3f..95a64e39124 100644 --- a/core/capabilities/ccip/ccipsolana/executecodec.go +++ b/core/capabilities/ccip/ccipsolana/executecodec.go @@ -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))