-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deactivating stake address detected as inactive #15
Comments
Do you have a test showing this? I just tried this with the v1 lib:
And this with the v2 lib:
And they both give:
|
Just a hunch (without actually having tried) but I bet sometimes And sometimes it's a …depending on where you got it from. |
@roccomuso, are you perhaps skipping the step that passes parsed stake account data through this code? solana-rpc-client-extensions/js-v1/src/stake.ts Lines 113 to 122 in aed9a86
|
It was a type check error my side. |
Ok great! Closing |
Using this lib at the moment this
deactivating
stake address3pcXwjYupqdowaYLJtYxF4SRCxAwCtwVR4VXg22fg5gp
is detected asinactive
.I think this is a bug.
The text was updated successfully, but these errors were encountered: