add weighted address tags (#336)

This commit is contained in:
Ruaridh 2020-01-24 11:39:52 +00:00 committed by GitHub
parent 33ad221e5f
commit d24f364ed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,8 +222,8 @@ func NewCollateralAuction(seller string, lot sdk.Coin, endTime time.Time, maxBid
// WeightedAddresses is a type for storing some addresses and associated weights.
type WeightedAddresses struct {
Addresses []sdk.AccAddress
Weights []sdk.Int
Addresses []sdk.AccAddress `json:"addresses" yaml:"addresses"`
Weights []sdk.Int `json:"weights" yaml:"weights"`
}
// NewWeightedAddresses returns a new list addresses with weights.