Skip to content

Commit 15cbdec

Browse files
authored
Fix rent epoch type
1 parent 8ea27fc commit 15cbdec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/connection.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {Agent as NodeHttpsAgent} from 'https';
1010
import {
1111
type as pick,
1212
number,
13+
bigint,
1314
string,
1415
array,
1516
boolean,
@@ -1930,7 +1931,7 @@ const AccountInfoResult = pick({
19301931
owner: PublicKeyFromString,
19311932
lamports: number(),
19321933
data: BufferFromRawAccountData,
1933-
rentEpoch: number(),
1934+
rentEpoch: bigint(),
19341935
});
19351936

19361937
/**

0 commit comments

Comments
 (0)