Browse Source

wallet: load route_nodes and route_channels when seeking a particular entry.

This got missed when 299b280f7 got merged.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
parent
commit
097b9345eb
  1. 2
      wallet/wallet.c

2
wallet/wallet.c

@ -1561,7 +1561,7 @@ wallet_payment_list(const tal_t *ctx,
wallet->db,
"SELECT id, status, destination, "
"msatoshi, payment_hash, timestamp, payment_preimage, "
"path_secrets "
"path_secrets, route_nodes, route_channels "
"FROM payments "
"WHERE payment_hash = ?;");
sqlite3_bind_sha256(stmt, 1, payment_hash);

Loading…
Cancel
Save