Skip to content

Commit

Permalink
Merge pull request #405 from carlaKC/533-newserverstate
Browse files Browse the repository at this point in the history
looprpc: add swap multiple swap scripts server state to rpc enum
  • Loading branch information
carlaKC authored Jul 20, 2021
2 parents 7091b90 + 9469267 commit 79100cc
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 95 deletions.
198 changes: 103 additions & 95 deletions looprpc/server.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions looprpc/server.proto
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,12 @@ enum ServerSwapState {
// The client canceled the swap because they could not route the swap
// payment.
SERVER_CLIENT_INVOICE_CANCEL = 14;

/*
A loop in swap was rejected because it contained multiple outputs for a
single swap.
*/
SERVER_FAILED_MULTIPLE_SWAP_SCRIPTS = 15;
}

message SubscribeLoopOutUpdatesResponse {
Expand Down

0 comments on commit 79100cc

Please sign in to comment.