From 9b04ae45e3ff756ced8125fd560613d4fce58a98 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Mon, 7 Jun 2021 11:16:35 +0200 Subject: [PATCH] chanfunding: fix swapped godoc comments --- lnwallet/chanfunding/canned_assembler.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lnwallet/chanfunding/canned_assembler.go b/lnwallet/chanfunding/canned_assembler.go index 5bd88682e..81b426bae 100644 --- a/lnwallet/chanfunding/canned_assembler.go +++ b/lnwallet/chanfunding/canned_assembler.go @@ -63,16 +63,16 @@ func (s *ShimIntent) FundingOutput() ([]byte, *wire.TxOut, error) { func (s *ShimIntent) Cancel() { } -// RemoteFundingAmt is the amount the remote party put into the channel. +// LocalFundingAmt is the amount we put into the channel. This may differ from +// the local amount requested, as depending on coin selection, we may bleed +// from of that LocalAmt into fees to minimize change. // // NOTE: This method satisfies the chanfunding.Intent interface. func (s *ShimIntent) LocalFundingAmt() btcutil.Amount { return s.localFundingAmt } -// LocalFundingAmt is the amount we put into the channel. This may differ from -// the local amount requested, as depending on coin selection, we may bleed -// from of that LocalAmt into fees to minimize change. +// RemoteFundingAmt is the amount the remote party put into the channel. // // NOTE: This method satisfies the chanfunding.Intent interface. func (s *ShimIntent) RemoteFundingAmt() btcutil.Amount {