Remove Unused Variable Warning in convert_invoice_block

This commit is contained in:
Joel Klabo
2022-12-31 13:29:27 -08:00
committed by William Casarin
parent 759ba398cc
commit 9d181fea90

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)