Skip to content

Commit

Permalink
fix rentEpoch issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yugure-orca committed Jun 3, 2024
1 parent d74efce commit 83ba25c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/build/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/libs/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function toAccountJSON(meta: AccountMetaInfo, embedSlotContext: boolean):
executable: meta.executable,
lamports: meta.lamports,
owner: meta.owner.toBase58(),
rentEpoch: meta.rentEpoch ?? 0,
rentEpoch: /* meta.rentEpoch ?? */ 0, // now all accounts must be rent-exempt
data: [meta.data.toString("base64"), "base64"],
},
...slotContext,
Expand Down

0 comments on commit 83ba25c

Please sign in to comment.