Fix dropped errors

pull/42/head
Lars Lehtonen 5 years ago
parent cb2e7f52bc
commit 489b0485b1

@ -125,7 +125,7 @@ func (c *Client) SimpleSupportedVSCurrencies() (*types.SimpleSupportedVSCurrenci
} }
var data *types.SimpleSupportedVSCurrencies var data *types.SimpleSupportedVSCurrencies
err = json.Unmarshal(resp, &data) err = json.Unmarshal(resp, &data)
return data, nil return data, err
} }
// CoinsList /coins/list // CoinsList /coins/list

@ -123,6 +123,9 @@ func (ct *Cointop) setPortfolioHoldings() error {
// read input field // read input field
b := make([]byte, 100) b := make([]byte, 100)
n, err := ct.Views.Input.Backing().Read(b) n, err := ct.Views.Input.Backing().Read(b)
if err != nil {
return err
}
if n == 0 { if n == 0 {
return nil return nil
} }

Loading…
Cancel
Save