From 354150977806b019ea9945290b6413f4e1c3c4b0 Mon Sep 17 00:00:00 2001 From: Eric Chen Date: Tue, 27 Aug 2019 16:47:01 -0700 Subject: [PATCH] Bandwidth limit should be float64. --- info/node.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/info/node.go b/info/node.go index 4ccaa93..3fc910d 100644 --- a/info/node.go +++ b/info/node.go @@ -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"` }