Using the keys::load_from_file function

This commit is contained in:
Dave Hrycyszyn
2024-07-29 10:11:15 +01:00
parent e4eedbd206
commit e1e2f49957
3 changed files with 5 additions and 15 deletions

View File

@@ -18,7 +18,6 @@ pub(crate) async fn run() -> anyhow::Result<()> {
// Feed it 500 sats, a redeem identity, a hashlock, a refund timelock, and a refund identity
//
let htlc = bitcoin::htlc::Htlc::new(
amount,
dave.external_public_key,
"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff".to_string(),
100,