fix header sync progress value

This commit is contained in:
Akinwale Ariwodola 2019-12-06 19:13:47 +01:00
parent 86e5bcf7e0
commit 0e65d526d8

View file

@ -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 }),