lnwallet: publicy export WitnessScriptHash and GenMultiSigScript
In this commit, we export WitnessScriptHash and GenMultiSigScript as external sub-systems may now need to use these methods in order to be able to watch for confirmations based on the script of a transaction.
This commit is contained in:
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -1427,7 +1427,7 @@ func (lc *LightningChannel) createSignDesc() error {
|
||||
localKey := lc.localChanCfg.MultiSigKey.PubKey.SerializeCompressed()
|
||||
remoteKey := lc.remoteChanCfg.MultiSigKey.PubKey.SerializeCompressed()
|
||||
|
||||
multiSigScript, err := genMultiSigScript(localKey, remoteKey)
|
||||
multiSigScript, err := GenMultiSigScript(localKey, remoteKey)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user