Skip to content

Commit

Permalink
Bandwidth limit should be float64.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Chen committed Aug 27, 2019
1 parent 6cc13ea commit 3541509
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions info/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ type Node struct {

// Host storage publishable information
type NodeStorage struct {
StoragePriceAsk uint64 `sql:"storage_price_ask" json:"storage_price_ask"`
BandwidthPriceAsk uint64 `sql:"bandwidth_price_ask" json:"bandwidth_price_ask"`
StorageTimeMin uint64 `sql:"storage_time_min" json:"storage_time_min"`
BandwidthLimit uint64 `sql:"bandwidth_limit" json:"bandwidth_limit"`
CollateralStake uint64 `sql:"collateral_stake" json:"collateral_stake"`
StoragePriceAsk uint64 `sql:"storage_price_ask" json:"storage_price_ask"`
BandwidthPriceAsk uint64 `sql:"bandwidth_price_ask" json:"bandwidth_price_ask"`
StorageTimeMin uint64 `sql:"storage_time_min" json:"storage_time_min"`
BandwidthLimit float64 `sql:"bandwidth_limit" json:"bandwidth_limit"`
CollateralStake uint64 `sql:"collateral_stake" json:"collateral_stake"`
}

0 comments on commit 3541509

Please sign in to comment.