From 46ef04ce29a0561a56d840e241dec7363adaddf6 Mon Sep 17 00:00:00 2001 From: dd Date: Fri, 11 Feb 2022 10:41:31 -0500 Subject: [PATCH] fix typo in emit_perp_balances --- program/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/src/utils.rs b/program/src/utils.rs index ada6e3d7..73ebdb3c 100644 --- a/program/src/utils.rs +++ b/program/src/utils.rs @@ -106,6 +106,6 @@ pub fn emit_perp_balances( long_settled_funding: pa.long_settled_funding.to_bits(), short_settled_funding: pa.short_settled_funding.to_bits(), long_funding: perp_market_cache.long_funding.to_bits(), - short_funding: perp_market_cache.long_funding.to_bits(), + short_funding: perp_market_cache.short_funding.to_bits(), }); }