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

Method reply_members

plugins/currencyrate-plugin/src/oracle.rs:52–60  ·  view source on GitHub ↗
(&self, currency_lc: &str, currency: &str)

Source from the content-addressed store, hash-verified

50 }
51
52 pub fn reply_members(&self, currency_lc: &str, currency: &str) -> Vec<String> {
53 self.reply_members
54 .iter()
55 .map(|s| {
56 s.replace("{currency_lc}", currency_lc)
57 .replace("{currency}", currency)
58 })
59 .collect()
60 }
61
62 pub fn name(&self) -> &str {
63 &self.name

Callers 1

get_rateMethod · 0.80

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected