From 58af44acd1e20be7ca977ff33d1e0c1635610adf Mon Sep 17 00:00:00 2001 From: Mustafa Buyukcelebi Date: Fri, 30 Aug 2019 00:01:08 +0300 Subject: [PATCH 1/2] Fixed transaction expired issue --- src/providers/steem/dsteem.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/providers/steem/dsteem.js b/src/providers/steem/dsteem.js index 21ed0fce2..9aede0aa1 100644 --- a/src/providers/steem/dsteem.js +++ b/src/providers/steem/dsteem.js @@ -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); }); }); From 5d8f4f1f64fe4f5611ec20f488ba3ba3b210e26d Mon Sep 17 00:00:00 2001 From: ue Date: Thu, 29 Aug 2019 22:21:22 +0300 Subject: [PATCH 2/2] updated a bit --- src/providers/steem/dsteem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/steem/dsteem.js b/src/providers/steem/dsteem.js index 9aede0aa1..056972807 100644 --- a/src/providers/steem/dsteem.js +++ b/src/providers/steem/dsteem.js @@ -489,7 +489,7 @@ const _vote = async (currentAccount, pin, author, permlink, weight) => { resolve(result); }) .catch(err => { - if (err.jse_info && err.jse_info.code === 4030100) { + 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.'; }