lnwallet+rpcserver: add no_publish flag to PSBT assembler

This commit is contained in:
Oliver Gugger
2020-07-08 17:12:57 -07:00
committed by Conner Fromknecht
parent 3a818b9735
commit 258996233f
4 changed files with 39 additions and 16 deletions

View File

@ -1672,6 +1672,7 @@ func newPsbtAssembler(req *lnrpc.OpenChannelRequest, normalizedMinConfs int32,
// to pass into the wallet.
return chanfunding.NewPsbtAssembler(
btcutil.Amount(req.LocalFundingAmount), packet, netParams,
!psbtShim.NoPublish,
), nil
}