fix header sync progress value
This commit is contained in:
parent
86e5bcf7e0
commit
0e65d526d8
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ class SplashScreen extends React.PureComponent {
|
|||
}
|
||||
|
||||
if (headerSyncProgress < 100) {
|
||||
const downloadProgress = headerSyncProgress || 0;
|
||||
const downloadProgress = isNaN(parseInt(headerSyncProgress, 10)) ? '0' : headerSyncProgress;
|
||||
this.setState({
|
||||
message: __('Blockchain Sync'),
|
||||
details: __('Catching up with the blockchain (%progress%%)', { progress: downloadProgress }),
|
||||
|
|
Loading…
Add table
Reference in a new issue