We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Providing a PubKey of type ed25519 on a SignatureV2 object and broadcasting the transaction the signature belongs to results in a code: 111222.
ed25519
SignatureV2
code: 111222
An example signature resulting in code 111222:
code 111222
signing.SignatureV2{ PubKey: &secp256k1.PubKey{Key: val.PubKey.Bytes()}, // <------ passing an ed25519 pubkey, a secp256k1 pubkey is expected Data: &sigData, Sequence: baseAccount.Sequence, }
To run an example of this checkout #171
The error doesn't occur without explicitly casting the ed25519 PubKey into a secp256k1 one. The following code produces the correct error (code 8):
secp256k1
code 8
signing.SignatureV2{ PubKey: val.PubKey, // <------ passing an ed25519 pubkey, a secp256k1 pubkey is expected Data: &sigData, Sequence: baseAccount.Sequence, }
The text was updated successfully, but these errors were encountered:
code111222
This issue was marked as stale because there was no activity for 15 days
Sorry, something went wrong.
No branches or pull requests
Providing a PubKey of type
ed25519
on aSignatureV2
object and broadcasting the transaction the signature belongs to results in acode: 111222
.An example signature resulting in
code 111222
:To run an example of this checkout #171
The error doesn't occur without explicitly casting the
ed25519
PubKey into asecp256k1
one. The following code produces the correct error (code 8
):The text was updated successfully, but these errors were encountered: