diff --git a/side-node/src/bitcoin/driver/create_htlc.rs b/side-node/src/bitcoin/driver/create_htlc.rs index 737bd0a..a8ca46b 100644 --- a/side-node/src/bitcoin/driver/create_htlc.rs +++ b/side-node/src/bitcoin/driver/create_htlc.rs @@ -16,8 +16,8 @@ pub(crate) async fn run() -> anyhow::Result<()> { let hash_preimage = "blah".to_string(); let hashlock = utils::sha256(hash_preimage); - // Feed it a redeem identity, a hashlock from the preimage, a refund timelock, and a refund identity - // + // Create an HTLC descriptor with a redeem identity, a hashlock from the preimage, + // a refund timelock, and a refund identity let htlc = bitcoin::htlc::Htlc::new(dave.public_key, hashlock, 100, sammy.public_key); let htlc_descriptor = htlc.to_miniscript_descriptor();