Skip to content

Commit

Permalink
Joe review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
martonp committed May 4, 2023
1 parent 6c77f80 commit 23606be
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/asset/btc/btc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
5 changes: 5 additions & 0 deletions client/mm/mm.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down Expand Up @@ -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 {
Expand Down
3 changes: 3 additions & 0 deletions client/mm/mm_basic.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
3 changes: 3 additions & 0 deletions client/mm/price_oracle.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down

0 comments on commit 23606be

Please sign in to comment.