Browse Source

devtools/bolt11-cli: print min_final_cltv_expiry.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
plugin-timeout-inc
Rusty Russell 6 years ago
committed by Christian Decker
parent
commit
c75f9f4318
  1. 1
      devtools/bolt11-cli.c

1
devtools/bolt11-cli.c

@ -103,6 +103,7 @@ int main(int argc, char *argv[])
type_to_string(ctx, struct pubkey, &b11->receiver_id)); type_to_string(ctx, struct pubkey, &b11->receiver_id));
printf("payment_hash: %s\n", printf("payment_hash: %s\n",
tal_hexstr(ctx, &b11->payment_hash, sizeof(b11->payment_hash))); tal_hexstr(ctx, &b11->payment_hash, sizeof(b11->payment_hash)));
printf("min_final_cltv_expiry: %u\n", b11->min_final_cltv_expiry);
if (b11->msatoshi) if (b11->msatoshi)
printf("msatoshi: %"PRIu64"\n", *b11->msatoshi); printf("msatoshi: %"PRIu64"\n", *b11->msatoshi);
if (b11->description) if (b11->description)

Loading…
Cancel
Save