| 63 | } |
| 64 | |
| 65 | static u64 ratefactor(const struct iso4217_name_and_divisor *currency) |
| 66 | { |
| 67 | u64 mul = 1; |
| 68 | for (u32 i = 0; i < currency->minor_unit; i++) |
| 69 | mul *= 10; |
| 70 | return mul; |
| 71 | } |
| 72 | |
| 73 | const char *currencyrate_str(const tal_t *ctx, |
| 74 | const struct bkpr *bkpr, |
no outgoing calls
no test coverage detected