File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,18 @@ import (
1313 "github.com/libp2p/go-libp2p/core/host"
1414 "github.com/libp2p/go-libp2p/core/peer"
1515 "github.com/rs/zerolog/log"
16- "github.com/sprintertech/sprinter-signing/chains/evm/signature"
1716 "github.com/sprintertech/sprinter-signing/comm"
1817 "github.com/sprintertech/sprinter-signing/tss"
1918 "github.com/sprintertech/sprinter-signing/tss/ecdsa/signing"
2019 "github.com/sygmaprotocol/sygma-core/relayer/message"
2120 "github.com/sygmaprotocol/sygma-core/relayer/proposal"
2221)
2322
23+ const (
24+ DOMAIN_NAME = "OIFEscrowLIFI"
25+ VERSION = "1"
26+ )
27+
2428type LifiUnlockHandler struct {
2529 chainID uint64
2630
@@ -158,9 +162,9 @@ func (h *LifiUnlockHandler) lifiUnlockHash(data *LifiUnlockData) ([]byte, error)
158162 },
159163 PrimaryType : "AllowOpen" ,
160164 Domain : apitypes.TypedDataDomain {
161- Name : signature . DOMAIN_NAME ,
165+ Name : DOMAIN_NAME ,
162166 ChainId : & chainId ,
163- Version : signature . VERSION ,
167+ Version : VERSION ,
164168 VerifyingContract : data .Settler .Hex (),
165169 },
166170 Message : msg ,
You can’t perform that action at this time.
0 commit comments