From d15f0a1668ae31d9dae5b8f197d6ef646674603a Mon Sep 17 00:00:00 2001 From: Eric P Date: Sun, 3 Nov 2024 01:29:35 -0500 Subject: [PATCH] Ignore value_msat value and use invoice total --- src/lightning.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lightning.rs b/src/lightning.rs index 50cab49..7711076 100644 --- a/src/lightning.rs +++ b/src/lightning.rs @@ -280,11 +280,6 @@ pub async fn parse_podcast_tlv(boost: &mut dbif::BoostRecord, val: &[u8], remote let json_result = serde_json::from_str::(tlv); match json_result { Ok(rawboost) => { - //If there was a sat value in the tlv, override the invoice - if rawboost.value_msat.is_some() { - boost.value_msat = rawboost.value_msat.unwrap() as i64; - } - //Determine an action type for later filtering ability if rawboost.action.is_some() { boost.action = match rawboost.action.unwrap().as_str() {