Skip to content

Commit

Permalink
Fix build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoferlund committed Nov 26, 2024
1 parent b21d6f7 commit 1921bd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions motoko/ic-pos/src/icpos/main.mo
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ shared (actorContext) actor class Main(_startBlock : Nat) {
logData.insert(0, text);
// Cap the log at 100 items
if (logData.size() == 100) {
let x = logData.removeLast();
let _ = logData.removeLast();
};
return;
};
Expand Down Expand Up @@ -217,7 +217,7 @@ shared (actorContext) actor class Main(_startBlock : Nat) {
// Cycle cost of sending a notification
// 49.14M + 5200 * request_size + 10400 * max_response_bytes
// 49.14M + (5200 * 1000) + (10400 * 1000) = 64.74M
Cycles.add(70_000_000);
Cycles.add<system>(70_000_000);

// Send the request
let httpResponse : HttpTypes.HttpResponsePayload = await ic.http_request(httpRequest);
Expand Down

0 comments on commit 1921bd8

Please sign in to comment.