diff --git a/client/asset/btc/btc.go b/client/asset/btc/btc.go index 0da4b18ac2..b936507728 100644 --- a/client/asset/btc/btc.go +++ b/client/asset/btc/btc.go @@ -2153,6 +2153,8 @@ func (btc *baseWallet) preRedeem(numLots, feeSuggestion uint64, options map[stri }, nil } +// PreRedeem generates an estimate of the range of redemption fees that could +// be assessed. func (btc *baseWallet) PreRedeem(form *asset.PreRedeemForm) (*asset.PreRedeem, error) { return btc.preRedeem(form.Lots, form.FeeSuggestion, form.SelectedOptions) } diff --git a/client/mm/mm.go b/client/mm/mm.go index bb72223445..8fb4de802e 100644 --- a/client/mm/mm.go +++ b/client/mm/mm.go @@ -1,3 +1,6 @@ +// This code is available on the terms of the project LICENSE.md file, +// also available online at https://blueoakcouncil.org/license/1.0.0. + package mm import ( @@ -25,6 +28,8 @@ type clientCore interface { MaxSell(host string, base, quote uint32) (*core.MaxOrderEstimate, error) } +var _ clientCore = (*core.Core)(nil) + // MarketMaker handles the market making process. It supports running different // strategies on different markets. type MarketMaker struct { diff --git a/client/mm/mm_basic.go b/client/mm/mm_basic.go index 713fc60a91..afdc17202e 100644 --- a/client/mm/mm_basic.go +++ b/client/mm/mm_basic.go @@ -1,3 +1,6 @@ +// This code is available on the terms of the project LICENSE.md file, +// also available online at https://blueoakcouncil.org/license/1.0.0. + package mm import ( diff --git a/client/mm/price_oracle.go b/client/mm/price_oracle.go index 4f2e791993..e30fa3e65b 100644 --- a/client/mm/price_oracle.go +++ b/client/mm/price_oracle.go @@ -1,3 +1,6 @@ +// This code is available on the terms of the project LICENSE.md file, +// also available online at https://blueoakcouncil.org/license/1.0.0. + package mm import (