Skip to content

Commit

Permalink
common/bolt11: add pull_all helper for common case of entire field.
Browse files Browse the repository at this point in the history
And make pull_bits return a uniform error message, since that's what
callers want, rather than asserting success.

Signed-off-by: Rusty Russell <[email protected]>
Changelog-Fixed: pay: don't assert() on malformed BOLT11 strings.
  • Loading branch information
rustyrussell authored and endothermicdev committed Jan 25, 2023
1 parent d9fed06 commit cbd0ef4
Showing 1 changed file with 203 additions and 170 deletions.
Loading

0 comments on commit cbd0ef4

Please sign in to comment.