lnwallet/wallet: use public witness script hash helper

This commit is contained in:
Conner Fromknecht 2018-06-28 16:51:32 -07:00
parent bb808a1937
commit a66c488546
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF

@ -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