Skip to content

Commit c53a6ab

Browse files
committed
remove unused function
1 parent 3877933 commit c53a6ab

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

program/src/oracle/oracle.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ static bool valid_writable_account( SolParameters *prm,
3030
ka->data_len >= dlen;
3131
}
3232

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-
4133
static uint64_t init_mapping( SolParameters *prm, SolAccountInfo *ka )
4234
{
4335
// Verify that the new account is signed and writable, with correct

0 commit comments

Comments
 (0)