Hi all,
I sent a transaction with the broadcast-mode block
, and the transaction was succeeded.
And then, in order to send another transaction, I sent a query /auth/accounts/{address}
to the LCD to get the latest account sequence.
But, the sequence returned was the same as the one that I used for the 1st transaction.
Interestingly, I could get the next sequence after sleeping more than 1 second.
I’m curious why the sequence wasn’t updated right after the transaction is committed, even though I set the broadcast-mode block
.
It happens only when I use the LCD (Light Client Daemon). When I use the gaia CLI, I always get the latest sequence properly. I guess this is the issue of the LCD.
Please let me know if I’m missing something.
Thank you so much.
Kind,
Youngjoon