lnwallet/wallet: use public witness script hash helper
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -1209,7 +1209,7 @@ func (l *LightningWallet) handleSingleFunderSigs(req *addSingleFunderSigsMsg) {
|
|||||||
// With their signature for our version of the commitment transactions
|
// With their signature for our version of the commitment transactions
|
||||||
// verified, we can now generate a signature for their version,
|
// verified, we can now generate a signature for their version,
|
||||||
// allowing the funding transaction to be safely broadcast.
|
// allowing the funding transaction to be safely broadcast.
|
||||||
p2wsh, err := witnessScriptHash(witnessScript)
|
p2wsh, err := WitnessScriptHash(witnessScript)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
req.err <- err
|
req.err <- err
|
||||||
req.completeChan <- nil
|
req.completeChan <- nil
|
||||||
|
|||||||
Reference in new issue
Block a user