invoice: Properly implement waitinvoice.

Fixes: #444
This commit is contained in:
ZmnSCPxj
2017-12-27 12:55:22 +00:00
committed by Rusty Russell
parent 773f7524dd
commit 8e3c97762e
3 changed files with 25 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ struct invoice {
struct preimage r;
u64 expiry_time;
struct sha256 rhash;
struct list_head invoice_waiters;
};
#define INVOICE_MAX_LABEL_LEN 128