From 2f9f117d036a9fd294c5e220464130ae08e97005 Mon Sep 17 00:00:00 2001 From: mpetrun5 Date: Thu, 5 Oct 2023 17:32:59 +0200 Subject: [PATCH] Fix linter error --- chains/substrate/chain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chains/substrate/chain.go b/chains/substrate/chain.go index 602e555e..2b030f66 100644 --- a/chains/substrate/chain.go +++ b/chains/substrate/chain.go @@ -50,7 +50,7 @@ func (c *SubstrateChain) PollEvents(ctx context.Context) { } func (c *SubstrateChain) ReceiveMessage(m *message.Message) (*proposal.Proposal, error) { - return nil, nil + return c.messageHandler.HandleMessage(m) } func (c *SubstrateChain) Write(props []*proposal.Proposal) error {