Skip to content

Commit

Permalink
feat: fix read pre-auth support for unknown token accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
sol-matcha committed Oct 18, 2023
1 parent 25247b0 commit 577d29c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion web/src/pages/accounts/[id]/pre-authorizations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,18 @@ const Pads: NextPage = () => {
</Text>
</HStack>
</>
) : null}
) : (
<>
<HStack>
<Text>Raw Authorized Amount:</Text>
<Code>{preAuth.account.variant.amountAuthorized.toString()}</Code>
</HStack>
<HStack>
<Text>Raw Amount Debited:</Text>
<Code>{preAuth.account.variant.amountDebited.toString()}</Code>
</HStack>
</>
)}
</>
) : null}
<HStack>
Expand Down

0 comments on commit 577d29c

Please sign in to comment.