MCPcopy Create free account
hub / github.com/ElementsProject/lightning / wallet_offer_id_first

Function wallet_offer_id_first

wallet/wallet.c:6060–6068  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6058}
6059
6060struct db_stmt *wallet_offer_id_first(struct wallet *w, struct sha256 *offer_id)
6061{
6062 struct db_stmt *stmt;
6063
6064 stmt = db_prepare_v2(w->db, SQL("SELECT offer_id FROM offers;"));
6065 db_query_prepared(stmt);
6066
6067 return wallet_offer_id_next(w, stmt, offer_id);
6068}
6069
6070struct db_stmt *wallet_offer_id_next(struct wallet *w,
6071 struct db_stmt *stmt,

Callers 1

json_listoffersFunction · 0.85

Calls 2

db_query_preparedFunction · 0.85
wallet_offer_id_nextFunction · 0.85

Tested by

no test coverage detected