File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ shared (actorContext) actor class Main(_startBlock : Nat) {
114
114
logData. insert(0 , text);
115
115
// Cap the log at 100 items
116
116
if (logData. size() == 100 ) {
117
- let x = logData. removeLast();
117
+ let _ = logData. removeLast();
118
118
};
119
119
return ;
120
120
};
@@ -217,7 +217,7 @@ shared (actorContext) actor class Main(_startBlock : Nat) {
217
217
// Cycle cost of sending a notification
218
218
// 49.14M + 5200 * request_size + 10400 * max_response_bytes
219
219
// 49.14M + (5200 * 1000) + (10400 * 1000) = 64.74M
220
- Cycles . add(70_000_000 );
220
+ Cycles . add< system > (70_000_000 );
221
221
222
222
// Send the request
223
223
let httpResponse : HttpTypes . HttpResponsePayload = await ic. http_request(httpRequest);
You can’t perform that action at this time.
0 commit comments