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

Function is_unwanted

plugins/rest-plugin/src/shared.rs:154–162  ·  view source on GitHub ↗
(key: &String, value: &serde_json::Value)

Source from the content-addressed store, hash-verified

152}
153
154fn is_unwanted(key: &String, value: &serde_json::Value) -> bool {
155 match value {
156 serde_json::Value::Null => {
157 log::debug!("is_unwanted: key:{} value:{} (null)", key, value);
158 true
159 }
160 _ => false,
161 }
162}

Callers 1

filter_jsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected