mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
bolt11: have caller supply preferred chain.
This lets us distinguish testnet from signet invoices, since they have the same prefix. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -93,7 +93,7 @@ int main(int argc, char *argv[])
|
||||
errx(ERROR_USAGE, "Need argument\n%s",
|
||||
opt_usage(argv[0], NULL));
|
||||
|
||||
b11 = bolt11_decode(ctx, argv[2], NULL, description, &fail);
|
||||
b11 = bolt11_decode(ctx, argv[2], NULL, description, NULL, &fail);
|
||||
if (!b11)
|
||||
errx(ERROR_BAD_DECODE, "%s", fail);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user