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

Function amount_msat_max

common/amount.h:182–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182static inline struct amount_msat amount_msat_max(struct amount_msat a,
183 struct amount_msat b)
184{
185 return amount_msat_greater(a, b) ? a : b;
186}
187
188/* Check whether this asset is actually the main / fee-paying asset of the
189 * current chain. */

Callers 6

layer_apply_constraintsFunction · 0.85
flow_min_deliverableFunction · 0.85
minflowFunction · 0.85
chan_extra_can_send_Function · 0.85
get_flow_pathsFunction · 0.85
new_paymentFunction · 0.85

Calls 1

amount_msat_greaterFunction · 0.85

Tested by

no test coverage detected