diff --git a/services/wallet/router/pathprocessor/processor_bridge_hop.go b/services/wallet/router/pathprocessor/processor_bridge_hop.go index 883d6276c..002af91c2 100644 --- a/services/wallet/router/pathprocessor/processor_bridge_hop.go +++ b/services/wallet/router/pathprocessor/processor_bridge_hop.go @@ -164,6 +164,14 @@ func (c *HopBridgeProcessor) getAppropriateABI(contractType string, chainID uint } func (h *HopBridgeProcessor) PackTxInputData(params ProcessorInputParams, contractType string) ([]byte, error) { + if contractType == "" { + _, ct, err := hop.GetContractAddress(params.FromChain.ChainID, params.FromToken.Symbol) + if err != nil { + return []byte{}, err + } + contractType = ct + } + abi, err := h.getAppropriateABI(contractType, params.FromChain.ChainID, params.FromToken) if err != nil { return []byte{}, err