From 556fbbdeaa25b160242c3a39e8a27235be1a5d6c Mon Sep 17 00:00:00 2001 From: Xun Li Date: Thu, 6 Jan 2022 19:22:15 -0800 Subject: [PATCH] Fix a typo --- fastpay_core/src/unit_tests/authority_tests.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fastpay_core/src/unit_tests/authority_tests.rs b/fastpay_core/src/unit_tests/authority_tests.rs index 7010cce2cc506..c8a33e9d4bcf4 100644 --- a/fastpay_core/src/unit_tests/authority_tests.rs +++ b/fastpay_core/src/unit_tests/authority_tests.rs @@ -377,7 +377,9 @@ async fn test_handle_move_order() { MAX_GAS, &sender_key, ); - let gas_cost = 143 + 24; // 143 is for bytecode execution, 25 is for object creation. + // 143 is for bytecode execution, 24 is for object creation. + // If the number changes, we want to verify that the change is intended. + let gas_cost = 143 + 24; let res = send_and_confirm_order(&mut authority_state, order) .await .unwrap();