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 3877933 commit c53a6abCopy full SHA for c53a6ab
program/src/oracle/oracle.c
@@ -30,14 +30,6 @@ static bool valid_writable_account( SolParameters *prm,
30
ka->data_len >= dlen;
31
}
32
33
-static bool valid_readable_account( SolParameters *prm,
34
- SolAccountInfo *ka,
35
- uint64_t dlen )
36
-{
37
- return SolPubkey_same( ka->owner, prm->program_id ) &&
38
- ka->data_len >= dlen;
39
-}
40
-
41
static uint64_t init_mapping( SolParameters *prm, SolAccountInfo *ka )
42
{
43
// Verify that the new account is signed and writable, with correct
0 commit comments