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:
Olaoluwa Osuntokun committed 2018-07-31 21:28:50 -07:00
1 parent c707577e99
commit 8dd0b56d35
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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
}