Skip to content

Commit cc7d9c7

Browse files
committed
fix cycles in threshold-ecdsa example
1 parent 36d0fbc commit cc7d9c7

File tree

1 file changed

+1
-1
lines changed
  • motoko/threshold-ecdsa/src/ecdsa_example_motoko

1 file changed

+1
-1
lines changed

motoko/threshold-ecdsa/src/ecdsa_example_motoko/main.mo

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ actor {
4141
let caller = Principal.toBlob(msg.caller);
4242
try {
4343
let message_hash: Blob = Blob.fromArray(SHA256.sha256(Blob.toArray(Text.encodeUtf8(message))));
44-
Cycles.add(25_000_000_000);
44+
Cycles.add(30_000_000_000);
4545
let { signature } = await ic.sign_with_ecdsa({
4646
message_hash;
4747
derivation_path = [ caller ];

0 commit comments

Comments
 (0)