Remove Unused Variable Warning in convert_invoice_block

This commit is contained in:
Joel Klabo authored and William Casarin committed 2022-12-31 16:54:10 -08:00
1 parent 759ba398cc
commit 9d181fea90
1 file changed
-1
-1
View File
@@ -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)