]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Merge pull request #2219 from benthecarman/custom-closing-address
authorMatt Corallo <649246+TheBlueMatt@users.noreply.github.com>
Wed, 3 May 2023 16:33:57 +0000 (16:33 +0000)
committerGitHub <noreply@github.com>
Wed, 3 May 2023 16:33:57 +0000 (16:33 +0000)
Add ability to set shutdown script when closing channel

1  2 
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/shutdown_tests.rs

Simple merge
Simple merge
index aeba82b1cd0bc6fd54a1bba4583591a37d5848f7,3fe729b5e08b047b7a3f3e14700864919cc94b3c..28831e5b23eea0a6fa5a8b2f092a017cac120dab
@@@ -31,8 -31,10 +31,9 @@@ use bitcoin::util::address::WitnessVers
  use regex;
  
  use core::default::Default;
+ use std::convert::TryFrom;
  
  use crate::ln::functional_test_utils::*;
 -use crate::ln::msgs::OptionalField::Present;
  
  #[test]
  fn pre_funding_lock_shutdown_test() {