Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: invalid public key: [], err: input has incorrect ECDSA_P256 key size, got 73, expects 64
--> 081afbfdab53a480b6b60b1923d760728b4f86d463eb8404a7ab3ba1fd291f44:11:18
|
11 | let publicKey = PublicKey(
12 | publicKey: key.decodeHex(),
13 | signatureAlgorithm: SignatureAlgorithm(rawValue: signatureAlgorithm)!
14 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^