You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to add a new result struct that required deserialising secp256k1::PublicKey but it seems to fail with "expected a borrowed byte array".
Are you aware of any way around this? I see it's serialised in PubKeyOrAddress but not deserialised anywhere.
The text was updated successfully, but these errors were encountered:
Not sure if it implements serde deserialization, but rust-bitcoin now has a util::key::PublicKey type. So we shouldn't be using the secp types directly anymore.
I've been trying to add a new result struct that required deserialising secp256k1::PublicKey but it seems to fail with "expected a borrowed byte array".
Are you aware of any way around this? I see it's serialised in PubKeyOrAddress but not deserialised anywhere.
The text was updated successfully, but these errors were encountered: