From b374e4f050a4014657ffd893213a0aeb60efc7d4 Mon Sep 17 00:00:00 2001 From: Nick Corin Date: Mon, 8 Jul 2024 17:17:31 +0200 Subject: [PATCH] starknet: Fix return type of chain writer constructor --- relayer/pkg/chainlink/relay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relayer/pkg/chainlink/relay.go b/relayer/pkg/chainlink/relay.go index 9b28ee04..8ef911bb 100644 --- a/relayer/pkg/chainlink/relay.go +++ b/relayer/pkg/chainlink/relay.go @@ -55,7 +55,7 @@ func (r *relayer) HealthReport() map[string]error { return map[string]error{r.Name(): r.Healthy()} } -func (r *relayer) NewChainWriter(_ context.Context, _ []byte) (relaytypes.ContractReader, error) { +func (r *relayer) NewChainWriter(_ context.Context, _ []byte) (relaytypes.ChainWriter, error) { return nil, errors.New("chain writer is not supported for starknet") }