We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15908b5 commit 34d0155Copy full SHA for 34d0155
sdk/src/decode/user.ts
@@ -85,7 +85,10 @@ export function decodeUser(buffer: Buffer): UserAccount {
85
const lpShares = readUnsignedBigInt64LE(buffer, offset + 64);
86
const openOrders = buffer.readUInt8(offset + 94);
87
const positionFlag = buffer.readUInt8(offset + 95);
88
- const isolatedPositionScaledBalance = readUnsignedBigInt64LE(buffer, offset + 96);
+ const isolatedPositionScaledBalance = readUnsignedBigInt64LE(
89
+ buffer,
90
+ offset + 96
91
+ );
92
93
if (
94
baseAssetAmount.eq(ZERO) &&
0 commit comments