| 459 | } |
| 460 | |
| 461 | const char *payer_proof_encode(const tal_t *ctx, const struct tlv_payer_proof *pptlv) |
| 462 | { |
| 463 | u8 *wire; |
| 464 | |
| 465 | wire = tal_arr(tmpctx, u8, 0); |
| 466 | towire_tlv_payer_proof(&wire, pptlv); |
| 467 | |
| 468 | return to_bech32_charset(ctx, "lnp", wire); |
| 469 | } |
| 470 | |
| 471 | struct tlv_payer_proof *payer_proof_decode(const tal_t *ctx, |
| 472 | const char *b12, size_t b12len, |