File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -132,10 +132,10 @@ func (h *LifiEscrowMessageHandler) HandleMessage(m *message.Message) (*proposal.
132132 return nil , err
133133 }
134134
135- unlockHash , err := borrowManyUnlockHash (
135+ unlockHash , err := borrowUnlockHash (
136136 calldata ,
137- [] * big. Int { data .BorrowAmount } ,
138- []common. Address { borrowToken } ,
137+ data .BorrowAmount ,
138+ borrowToken ,
139139 new (big.Int ).SetUint64 (destChainID ),
140140 h .lifiAddresses [destChainID ],
141141 big .NewInt (order .Order .FillDeadline .Unix ()).Uint64 (),
Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ func borrowUnlockHash(
208208 return crypto .Keccak256 (rawData ), nil
209209}
210210
211+ /*
211212// borrowManyUnlockHash calculates the hash that has to be signed and submitted on-chain to the liquidity
212213// pool contract.
213214func borrowManyUnlockHash(
@@ -278,3 +279,4 @@ func borrowManyUnlockHash(
278279 rawData := []byte(fmt.Sprintf("\x19\x01%s%s", string(domainSeparator), string(messageHash)))
279280 return crypto.Keccak256(rawData), nil
280281}
282+ */
You can’t perform that action at this time.
0 commit comments