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 length must be 96, got 64
--> 9cdf2a7e4e5bb1024d65981b9942304f046cb96766bce997abd3456ff9fd95ab:11:18
|
11 | let publicKey = PublicKey(
12 | publicKey: key.decodeHex(),
13 | signatureAlgorithm: SignatureAlgorithm(rawValue: signatureAlgorithm)!
14 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^