From f0807afc536014bc80d80f75d1ccc5ec156060c3 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Thu, 9 May 2024 08:13:24 -0500 Subject: [PATCH] quick lint fix --- crates/hyperdrive-math/src/short/open.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hyperdrive-math/src/short/open.rs b/crates/hyperdrive-math/src/short/open.rs index 6b584643..52414160 100644 --- a/crates/hyperdrive-math/src/short/open.rs +++ b/crates/hyperdrive-math/src/short/open.rs @@ -825,7 +825,7 @@ mod tests { // TODO: You should be able to add a small amount (e.g. 1e18) to max to fail. // calc_open_short must be incorrect for the additional amount to have to be so large. let result = state.calculate_open_short( - (max_trade + fixed!(100_000_000e18)), + max_trade + fixed!(100_000_000e18), state.vault_share_price(), ); match result {