From e1d985f2389d6bbcd04990548ebaf3a09a3ceb12 Mon Sep 17 00:00:00 2001 From: ade <93547199+oxade@users.noreply.github.com> Date: Sun, 16 Jan 2022 14:00:33 -0500 Subject: [PATCH] Fix gas budget error typo Error should reflect comparison --- fastx_types/src/gas.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastx_types/src/gas.rs b/fastx_types/src/gas.rs index 33cfe0ab8e06a..64ffdefdcac6e 100644 --- a/fastx_types/src/gas.rs +++ b/fastx_types/src/gas.rs @@ -61,7 +61,7 @@ pub fn check_gas_requirement(order: &Order, gas_object: &Object) -> FastPayResul balance >= call.gas_budget, format!( "Gas balance is {}, smaller than the budget {} for move call.", - balance, MIN_MOVE_CALL_GAS + balance, call.gas_budget ) ) }