diff --git a/packages/solana/test/programs/compute_budget_program/program_test.dart b/packages/solana/test/programs/compute_budget_program/program_test.dart index 99aa871c88..6eaf1b9e4f 100644 --- a/packages/solana/test/programs/compute_budget_program/program_test.dart +++ b/packages/solana/test/programs/compute_budget_program/program_test.dart @@ -64,7 +64,7 @@ void main() { const micro = 1000000; expect( feeWithComputeUnitPrice! - feeWithoutComputeUnitPrice!, - defaultUnitLimit * unitPriceMicroLamports / micro, + (defaultUnitLimit * unitPriceMicroLamports) ~/ micro, ); }); }