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 32, expects 64
--> dbd5647f32fa7d67b3f7a1cea5c5594d1177b540dffc32adb372acbbcf011318:15:19
|
15 | let key = PublicKey(
16 | publicKey: publicKey.decodeHex(),
17 | signatureAlgorithm: SignatureAlgorithm(rawValue: signatureAlgorithm)!
18 | )
| ^^^^^^^^^^^^^^^^^^^^^^