chanfunding: fix swapped godoc comments
This commit is contained in:
1 file changed
+4
-4
@@ -63,16 +63,16 @@ func (s *ShimIntent) FundingOutput() ([]byte, *wire.TxOut, error) {
|
|||||||
func (s *ShimIntent) Cancel() {
|
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.
|
// NOTE: This method satisfies the chanfunding.Intent interface.
|
||||||
func (s *ShimIntent) LocalFundingAmt() btcutil.Amount {
|
func (s *ShimIntent) LocalFundingAmt() btcutil.Amount {
|
||||||
return s.localFundingAmt
|
return s.localFundingAmt
|
||||||
}
|
}
|
||||||
|
|
||||||
// LocalFundingAmt is the amount we put into the channel. This may differ from
|
// RemoteFundingAmt is the amount the remote party put into the channel.
|
||||||
// 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.
|
// NOTE: This method satisfies the chanfunding.Intent interface.
|
||||||
func (s *ShimIntent) RemoteFundingAmt() btcutil.Amount {
|
func (s *ShimIntent) RemoteFundingAmt() btcutil.Amount {
|
||||||
|
|||||||
Reference in new issue
Block a user