fixed Margin Account layout

This commit is contained in:
dd 2021-03-05 11:01:50 -05:00
parent 58d511de62
commit 36f6b18a35
1 changed files with 2 additions and 1 deletions

View File

@ -154,7 +154,8 @@ export const MarginAccountLayout = struct([
seq(U64F64(), NUM_TOKENS, 'deposits'),
seq(U64F64(), NUM_TOKENS, 'borrows'),
seq(publicKeyLayout(), NUM_MARKETS, 'openOrders')
seq(publicKeyLayout(), NUM_MARKETS, 'openOrders'),
seq(u8(), 8, 'padding')
]);
export const MangoSrmAccountLayout = struct([