bolt11: fix bug where text not showing after invoice

Changelog-Fixed: Fix but where text was not showing after invoices
This commit is contained in:
William Casarin
2023-01-01 11:31:36 -08:00
parent cf615b82b2
commit 5a956248f9
2 changed files with 3 additions and 6 deletions

View File

@@ -241,7 +241,7 @@ static int parse_invoice(struct cursor *cur, struct block *block) {
block->block.invoice.invstr.end = (const char*)end;
block->block.invoice.bolt11 = bolt11;
cur->p += end - start;
cur->p = end;
return 1;
}