Fixed transaction expired issue

This commit is contained in:
Mustafa Buyukcelebi 2019-08-30 00:01:08 +03:00
parent 54f12c8466
commit 58af44acd1

View File

@ -489,6 +489,10 @@ const _vote = async (currentAccount, pin, author, permlink, weight) => {
resolve(result);
})
.catch(err => {
if (err.jse_info && 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);
});
});