From 8babc19535f936a7ee7a67f2823c683677916b57 Mon Sep 17 00:00:00 2001 From: StefanIliev545 Date: Thu, 1 Aug 2024 18:24:53 +0300 Subject: [PATCH] Fix for deployment. --- go/enclave/crosschain/common.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/go/enclave/crosschain/common.go b/go/enclave/crosschain/common.go index a342bfd545..0796db1709 100644 --- a/go/enclave/crosschain/common.go +++ b/go/enclave/crosschain/common.go @@ -109,10 +109,6 @@ func convertLogsToMessages(logs []types.Log, eventName string, messageBusABI abi messages := make(common.CrossChainMessages, 0) for _, log := range logs { - if len(log.Topics) != 2 { - return nil, fmt.Errorf("invalid number of topics in log: %d", len(log.Topics)) - } - var event MessageBus.MessageBusLogMessagePublished err := messageBusABI.UnpackIntoInterface(&event, eventName, log.Data) if err != nil {