Browse Source

listunspent manual fetch fix

all-modes
Petr Balashov 8 years ago
parent
commit
e0ad0d007a
  1. 5
      react/src/components/dashboard/sendCoin.js

5
react/src/components/dashboard/sendCoin.js

@ -120,8 +120,9 @@ class SendCoin extends React.Component {
this.state.sendFrom &&
!this.state.sendApiType &&
this.props.ActiveCoin.cache[this.props.ActiveCoin.coin][this.state.sendFrom] &&
this.props.ActiveCoin.cache[this.props.ActiveCoin.coin][this.state.sendFrom].refresh) {
const refreshCacheData = this.props.ActiveCoin.cache[this.props.ActiveCoin.coin][this.state.sendFrom].refresh;
this.props.ActiveCoin.cache[this.props.ActiveCoin.coin][this.state.sendFrom].refresh ||
this.props.ActiveCoin.cache[this.props.ActiveCoin.coin][this.state.sendFrom].listunspent) {
const refreshCacheData = this.props.ActiveCoin.cache[this.props.ActiveCoin.coin][this.state.sendFrom].refresh || this.props.ActiveCoin.cache[this.props.ActiveCoin.coin][this.state.sendFrom].listunspent;
const timestamp = checkTimestamp(refreshCacheData.timestamp);
const isReadyToUpdate = timestamp > 600 ? true : false;

Loading…
Cancel
Save