Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion api/handlers/signing.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const (
MayanProtocol ProtocolType = "mayan"
RhinestoneProtocol ProtocolType = "rhinestone"
LifiEscrowProtocol ProtocolType = "lifi-escrow"
LifiProtocol ProtocolType = "lifi"
LighterProtocol ProtocolType = "lighter"
)

Expand Down
2 changes: 1 addition & 1 deletion api/handlers/unlock.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (h *UnlockHandler) HandleUnlock(w http.ResponseWriter, r *http.Request) {
sigChn := make(chan interface{}, 1)
var m *message.Message
switch b.Protocol {
case LifiProtocol:
case LifiEscrowProtocol:
{
m = evmMessage.NewLifiUnlockMessage(0, b.ChainId, &evmMessage.LifiUnlockData{
Source: 0,
Expand Down
4 changes: 2 additions & 2 deletions api/handlers/unlock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (s *UnlockHandlerTestSuite) Test_HandleUnlock_InvalidRequest() {
handler := handlers.NewUnlockHandler(msgChn, s.chains)

input := handlers.UnlockBody{
Protocol: "lifi",
Protocol: "lifi-escrow",
OrderID: "id",
Settler: "settler",
}
Expand Down Expand Up @@ -95,7 +95,7 @@ func (s *UnlockHandlerTestSuite) Test_HandleUnlock_ValidRequest() {
handler := handlers.NewUnlockHandler(msgChn, s.chains)

input := handlers.UnlockBody{
Protocol: "lifi",
Protocol: "lifi-escrow",
OrderID: "id",
Settler: "settler",
}
Expand Down
Loading