diff --git a/chains/evm/voter/message-handler.go b/chains/evm/voter/message-handler.go index 64b25f25..514fe3eb 100644 --- a/chains/evm/voter/message-handler.go +++ b/chains/evm/voter/message-handler.go @@ -135,7 +135,7 @@ func ERC721MessageHandler(msg *relayer.Message, handlerAddr, bridgeAddress commo return NewProposal(msg.Source, msg.DepositNonce, msg.ResourceId, data.Bytes(), handlerAddr, bridgeAddress), nil } -func GenericMessageHandler(msg *relayer.Message, handlerAddr, bridgeAddress common.Address) (*Proposal, error) { +func GenericMessageHandler(msg *relayer.Message, handlerAddr, bridgeAddress common.Address) (Proposer, error) { if len(msg.Payload) != 1 { return nil, errors.New("malformed payload. Len of payload should be 1") }