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
The main network blcok 70249973 already supports secp256k1 algorithm, but sdk still does not support it, currently chunkView Unmarshal exception。
func WrapRawKey(keyType PublicKeyType, key []byte) (pk PublicKey, err error) { switch keyType { case KeyTypeED25519: if len(key) != ed25519.PublicKeySize { return pk, ErrInvalidPublicKey } pk[0] = RawKeyTypeED25519 copy(pk[1:], key[0:ed25519.PublicKeySize]) return case KeyTypeSECP256K1: // TODO! return pk, fmt.Errorf("SECP256K1 is not supported yet") } return pk, ErrInvalidKeyType }
The text was updated successfully, but these errors were encountered:
Should be solved by #30. Can you confirm if this works for you?
Sorry, something went wrong.
mikroskeem
No branches or pull requests
The main network blcok 70249973 already supports secp256k1 algorithm,
but sdk still does not support it, currently chunkView Unmarshal exception。
The text was updated successfully, but these errors were encountered: