Closed lastmeta closed 2 years ago
seems to be due to the transactionRecord for the admin asset listed as a RVN asset. must determine why.
ok, this is interesting. the glitch is that only when you have just barely imported then send to that wallet, the balance is right, but the latest transaction, the one you just sent, doesn't show up.
I tracked it back to the database, the trasnaction wasn't even saved. but the subscriber should have heard about the new tx and triggered a save, so I put this code in the subscription:
if (address.address == 'n2RuP7WnxuuPQYu5ME5hMivnvcm7aP3pEW') {
print('watching');
print(address.status?.status);
print(status);
}
if (address.status?.status != status) {
print('PULLING HISTORY');
...
so it only runs for the address I sent to, then I sent it an asset (doesn't matter if it's admin asset) and this was the print out
I/flutter (21890): watching
I/flutter (21890): 63954339e4b4ed299f307953010c3ac8054a391949c68adf6c52fd4e39189dd7
I/flutter (21890): 63954339e4b4ed299f307953010c3ac8054a391949c68adf6c52fd4e39189dd7
So... it did get triggered, but with the already existing status. is this a problem with how we're subscribing? does the status only change if you sent?
It works fine if you restart the app...
Describe The Bug
just shows the shimmer during test of sending new wallet an admin token
To Reproduce
without the regular token
Expected Behavior
show history