From 64a696dbc2f80bf09ec76446db944430cf83b5a3 Mon Sep 17 00:00:00 2001 From: Joonatan Saarhelo Date: Wed, 8 May 2024 13:37:29 +0100 Subject: [PATCH] Update core/lib/multivm/src/versions/vm_latest/oracles/storage.rs Co-authored-by: Stanislav Bezkorovainyi --- core/lib/multivm/src/versions/vm_latest/oracles/storage.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/multivm/src/versions/vm_latest/oracles/storage.rs b/core/lib/multivm/src/versions/vm_latest/oracles/storage.rs index 389b4ac521b1..5ee44ed80191 100644 --- a/core/lib/multivm/src/versions/vm_latest/oracles/storage.rs +++ b/core/lib/multivm/src/versions/vm_latest/oracles/storage.rs @@ -383,7 +383,7 @@ impl VmStorageOracle for StorageOracle { // Note, that the diff may be negative, e.g. in case the new write returns to the original value. // The end result is that users pay as much pubdata in total as would have been required to set // the slots to their final values. - // The only case where users overpay is when some transaction ends up with a negative pubdata total. + // The only case where users may overpay is when a previous transaction ends up with a negative pubdata total. let diff = (current_price as i32) - (previous_price as i32); self.paid_changes.apply_historic_record(