From 9d181fea90b28ad0111f5e5c23d19bbdbcaa943c Mon Sep 17 00:00:00 2001 From: Joel Klabo Date: Sat, 31 Dec 2022 13:29:27 -0800 Subject: [PATCH] Remove Unused Variable Warning in convert_invoice_block --- damus/Models/Mentions.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/damus/Models/Mentions.swift b/damus/Models/Mentions.swift index 21e8f309..3619ea3a 100644 --- a/damus/Models/Mentions.swift +++ b/damus/Models/Mentions.swift @@ -199,7 +199,6 @@ func convert_invoice_block(_ b: invoice_block) -> Block? { } let amount = Int64(msat.millisatoshis) let payment_hash = Data(bytes: &b11.payment_hash, count: 32) - let hex = hex_encode(payment_hash) let created_at = b11.timestamp tal_free(b.bolt11)