loopd: add loop in state InvoiceSettled

This commit is contained in:
Joost Jager 2019-04-02 10:51:51 +02:00
parent a7f4feb9ea
commit b5d2fb3894
No known key found for this signature in database
GPG key ID: A61B9D4C393C59C7
7 changed files with 242 additions and 190 deletions

View file

@ -95,6 +95,8 @@ func (s *swapClientServer) marshallSwap(loopSwap *loop.SwapInfo) (
state = looprpc.SwapState_PREIMAGE_REVEALED
case loopdb.StateHtlcPublished:
state = looprpc.SwapState_HTLC_PUBLISHED
case loopdb.StateInvoiceSettled:
state = looprpc.SwapState_INVOICE_SETTLED
case loopdb.StateSuccess:
state = looprpc.SwapState_SUCCESS
default: