Skip to content

Commit

Permalink
Merge pull request #2 from TRON-US/bandwidth-limit-float
Browse files Browse the repository at this point in the history
Bandwidth limit should be float64
  • Loading branch information
ShellyWEI authored Aug 28, 2019
2 parents 6cc13ea + 3541509 commit ed37b4e
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 ed37b4e

Please sign in to comment.