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 d6860b1 commit 891d42eCopy full SHA for 891d42e
program/c/src/oracle/oracle.c
@@ -5,6 +5,7 @@
5
#include "oracle.h"
6
#include "upd_aggregate.h"
7
8
+
9
// Returns the minimum number of lamports required to make an account
10
// with dlen bytes of data rent exempt. These values were calculated
11
// using the getMinimumBalanceForRentExemption RPC call, and are
@@ -19,6 +20,8 @@ static uint64_t rent_exempt_amount( uint64_t dlen )
19
20
return 4454400;
21
case sizeof( pc_price_t ):
22
return 23942400;
23
+ case PRICE_ACCOUNT_SIZE:
24
+ return 36915840;
25
default:
26
return UINT64_MAX;
27
}
0 commit comments