Skip to content

Commit

Permalink
fix: update methods for BinaryReader
Browse files Browse the repository at this point in the history
  • Loading branch information
gutsyphilip committed Apr 26, 2022
1 parent 2fc73b3 commit 34c8e37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/src/utils/account-with-lockup.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ async function viewLockupState(connection, lockupAccountId) {
let vestingEnd = reader.readU64();
vestingInformation = { vestingStart, vestingCliff, vestingEnd };
} else if (vestingType === 3) {
let unvestedAmount = reader.read_u128();
let terminationStatus = reader.read_u8();
let unvestedAmount = reader.readU128();
let terminationStatus = reader.readU8();
vestingInformation = { unvestedAmount, terminationStatus };
} else {
vestingInformation = 'TODO';
Expand Down

0 comments on commit 34c8e37

Please sign in to comment.