Why locally it works and in prod I got that weird error message during the transaction sign process?
UPDATE: this happends on Phantom wallet.
By using Solflare instead, I got WalletSignTransactionError: Blob.encode[recentBlockhash] requires (length 32) Uint8Array as src in production and not locally again
I get the subject error in production whereas locally it works as expected. I already checked the environments both on prod and locally are the same.
The code is simply the following:
Why locally it works and in prod I got that weird error message during the transaction sign process?
UPDATE: this happends on Phantom wallet. By using Solflare instead, I got
WalletSignTransactionError: Blob.encode[recentBlockhash] requires (length 32) Uint8Array as src
in production and not locally again