From f92d98baf064a2f1b543327c56fb3163cbdca100 Mon Sep 17 00:00:00 2001 From: Hack666r Date: Wed, 25 Dec 2024 22:49:08 +0100 Subject: [PATCH 1/2] typo fix lib.rs --- lazer/solana/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazer/solana/src/lib.rs b/lazer/solana/src/lib.rs index d62d894..ae43c6b 100644 --- a/lazer/solana/src/lib.rs +++ b/lazer/solana/src/lib.rs @@ -26,7 +26,7 @@ use { std::mem::size_of, }; -// rustfmt's unstable import merging feature breaks complilation. +// rustfmt's unstable import merging feature breaks compilation. #[rustfmt::skip] use solana_program::entrypoint; From c8af37043596b9d7febcda7b9fa1af0d583db38b Mon Sep 17 00:00:00 2001 From: Hack666r Date: Wed, 25 Dec 2024 22:50:26 +0100 Subject: [PATCH 2/2] typo fix stdlib.fc --- price_feeds/ton/send_usd/contracts/imports/stdlib.fc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/price_feeds/ton/send_usd/contracts/imports/stdlib.fc b/price_feeds/ton/send_usd/contracts/imports/stdlib.fc index 6495e90..1ab2186 100644 --- a/price_feeds/ton/send_usd/contracts/imports/stdlib.fc +++ b/price_feeds/ton/send_usd/contracts/imports/stdlib.fc @@ -631,7 +631,7 @@ int get_seed() impure asm "RANDSEED"; ;;; Equivalent to randomize(cur_lt());. () randomize_lt() impure asm "LTIME" "ADDRAND"; -;;; Checks whether the data parts of two slices coinside +;;; Checks whether the data parts of two slices coincide int equal_slices_bits(slice a, slice b) asm "SDEQ"; ;;; Checks whether b is a null. Note, that FunC also has polymorphic null? built-in. int builder_null?(builder b) asm "ISNULL";