ajoliat23 / blockBook

0 stars 0 forks source link

Account does not exist when trying to fetch #14

Closed gigicu01 closed 1 year ago

gigicu01 commented 1 year ago

Currently trying to figure out why I get the error in the title when trying to fetch. I believe it has to do with the fact the the transaction does not have enough time to process since I actually managed to fetch the account a few times. I tried to use await but it still seems to not be working. Will have to look more into it.

image

gigicu01 commented 1 year ago

Update: logged the transaction result in the console and got an actual results, but I think the transaction is not actually creating the account which is why it can't find the account when trying to fetch. I tried to get the account info using solana and log it too and got a null result as shown below:

image

jgurary commented 1 year ago

Should be solved with the recent update I sent you, the tx to create the account was not actually being sent.

gigicu01 commented 1 year ago

Issue solved. The problem was as stated above by @jgurary.