Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ amount_msat
Class
amount_msat
common/test/run-amount.c:71–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
69
70
/* Note u32 truncation tests 0 values! */
71
static void test_amount_sub_fee(struct amount_msat msat,
72
u32 base, u32 prop)
73
{
74
struct amount_msat in, in2, out;
Callers
4
test_amount_fee_str
Function · 0.70
test_amount_with_fee
Function · 0.70
test_case_amount_div
Function · 0.70
test_case_amount_div_ceil
Function · 0.70
Calls
no outgoing calls
Tested by
4
test_amount_fee_str
Function · 0.56
test_amount_with_fee
Function · 0.56
test_case_amount_div
Function · 0.56
test_case_amount_div_ceil
Function · 0.56