mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
sort listinvoices and listsendpays by order of creation.
This commit is contained in:
committed by
Christian Decker
parent
ce9e559aed
commit
96452eafb7
@@ -441,7 +441,8 @@ bool invoices_iterate(struct invoices *invoices,
|
|||||||
", bolt11"
|
", bolt11"
|
||||||
", description"
|
", description"
|
||||||
", features"
|
", features"
|
||||||
" FROM invoices;"));
|
" FROM invoices"
|
||||||
|
" ORDER BY id;"));
|
||||||
db_query_prepared(stmt);
|
db_query_prepared(stmt);
|
||||||
it->p = stmt;
|
it->p = stmt;
|
||||||
} else
|
} else
|
||||||
|
|||||||
@@ -2797,7 +2797,8 @@ wallet_payment_list(const tal_t *ctx,
|
|||||||
", failonionreply"
|
", failonionreply"
|
||||||
", total_msat"
|
", total_msat"
|
||||||
", partid"
|
", partid"
|
||||||
" FROM payments;"));
|
" FROM payments"
|
||||||
|
" ORDER BY id;"));
|
||||||
}
|
}
|
||||||
db_query_prepared(stmt);
|
db_query_prepared(stmt);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user