Closed Morgandri1 closed 1 year ago
use str(key)
not key.string()
. Did a person or large language model tell you that key.string()
was a thing? If so please yell at them
No, i just assumed it would work seeing as there's a string
method in the pubkey.pyi src. might want to remove that
Ah I'll go yell at myself then
haha, sorry about that. Its been in releases since at least 0.14.0, so thats where the confusion was
is that an old method?
Thanks for pointing it out! Yes it's old. Happy to accept a PR to delete it from the pyi file, otherwise will look later this week
Closed by #57
Getting this error:
AttributeError: 'solders.pubkey.Pubkey' object has no attribute 'string'
when my code is:
This error is happening on both 0.14.0 and 0.17.0