From a66c4885466427d213fc3bb6c3af358b4dcd0d1a Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Thu, 28 Jun 2018 16:51:32 -0700 Subject: [PATCH] lnwallet/wallet: use public witness script hash helper --- lnwallet/wallet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnwallet/wallet.go b/lnwallet/wallet.go index db30dad6..581457b8 100644 --- a/lnwallet/wallet.go +++ b/lnwallet/wallet.go @@ -1209,7 +1209,7 @@ func (l *LightningWallet) handleSingleFunderSigs(req *addSingleFunderSigsMsg) { // With their signature for our version of the commitment transactions // verified, we can now generate a signature for their version, // allowing the funding transaction to be safely broadcast. - p2wsh, err := witnessScriptHash(witnessScript) + p2wsh, err := WitnessScriptHash(witnessScript) if err != nil { req.err <- err req.completeChan <- nil