commit 9d181fea90b28ad0111f5e5c23d19bbdbcaa943c
parent 759ba398cc022564ca72efad762ee032db808dfb
Author: Joel Klabo <joelklabo@gmail.com>
Date: Sat, 31 Dec 2022 13:29:27 -0800
Remove Unused Variable Warning in convert_invoice_block
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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)