Merge pull request #1119 from esteemapp/bugfix/transaction-exp

Fixed transaction expired issue
This commit is contained in:
uğur erdal 2019-08-29 22:22:48 +03:00 committed by GitHub
commit 522635722b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -489,6 +489,10 @@ const _vote = async (currentAccount, pin, author, permlink, weight) => {
resolve(result);
})
.catch(err => {
if (get(err, 'jse_info.code') === 4030100) {
err.message =
'We noticed that your device has incorrect date or time. Please fix Date & Time or Set Automatically and try again.';
}
reject(err);
});
});