typo
This commit is contained in:
parent
fca025945f
commit
560355ff92
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ type MaxValueAgeCoinSelector struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// CoinSelect will attempt to select coins using the algorithm described
|
// CoinSelect will attempt to select coins using the algorithm described
|
||||||
// in the MaxValueAgeSelector struct.
|
// in the MaxValueAgeCoinSelector struct.
|
||||||
func (s MaxValueAgeCoinSelector) CoinSelect(targetValue int64, coins []Coin) (Coins, error) {
|
func (s MaxValueAgeCoinSelector) CoinSelect(targetValue int64, coins []Coin) (Coins, error) {
|
||||||
sortedCoins := make([]Coin, 0, len(coins))
|
sortedCoins := make([]Coin, 0, len(coins))
|
||||||
sortedCoins = append(sortedCoins, coins...)
|
sortedCoins = append(sortedCoins, coins...)
|
||||||
|
|
Loading…
Reference in a new issue