rsksmart / rwallet

The RSK Wallet is based on our rWallet open-source code-base, which will allow developers and organizations to use it to build their own apps.
https://developers.rsk.co/wallet/
GNU General Public License v3.0
43 stars 22 forks source link

Transactions showing strange data #507

Open bitcoinuser opened 4 years ago

bitcoinuser commented 4 years ago

RWallet 1.3.1 on Android

Problem: I see a transaction on RWallet showing as if it had occurred on the last 12 hours. But when I open explorer we can see that the correct day that occurred the transaction was 22 days ago. If I refresh the window from top to down, nothing happens, but if I refresh from down to top, appear more two transactions showing as if it had occurred on last 12 hours. Obs. See the video uploaded to understand the problem. video_2020-09-30_20-34-24.mp4.zip

bitcoinuser commented 4 years ago

Obs. I see that all three transactions are Type contract call

chrisli30 commented 4 years ago

@imstar15 I remember all transactions are shown with confirmAt instead of createdAt timestamp. What's the reason for this issue?

imstar15 commented 4 years ago

https://explorer.rsk.co/tx/0xfac66a15630c47ae1a76c1e3b0d94cae67e1e1d5932b2ba744a7ca2fc8c38594

confirmAt in datebase 2020.09.30

time in explorer web page 2020.09.08

This may be a problem. @tinyyxx

imstar15 commented 4 years ago

康滨: 找到原因了:之前 rsk3 getTransaction 接口会返回一个 timestamp 字段 用作 confirmed time;现在 该接口中 timestamp 字段没有返回;

解决方法就是这个 https://ethereum.stackexchange.com/questions/7287/how-to-find-the-date-of-an-ethereum-transaction-while-parsing-it-with-web3

chrisli30 commented 3 years ago

@tinyyxx Is this issue fixed?