Rename SolKeyedAccounts to SolKeyedAccount

This commit is contained in:
Michael Vines
2018-11-27 15:15:56 -08:00
committed by Grimes
parent 8947c5a4aa
commit 83c0711760
5 changed files with 14 additions and 14 deletions

View File

@@ -6,13 +6,13 @@
#include <solana_sdk.h>
/**
* Number of SolKeyedAccounts expected. The program should bail if an
* Number of SolKeyedAccount expected. The program should bail if an
* unexpected number of accounts are passed to the program's entrypoint
*/
#define NUM_KA 3
extern bool entrypoint(const uint8_t *input) {
SolKeyedAccounts ka[NUM_KA];
SolKeyedAccount ka[NUM_KA];
const uint8_t *data;
uint64_t data_len;

View File

@@ -5,7 +5,7 @@
#include <solana_sdk.h>
extern bool entrypoint(const uint8_t *input) {
SolKeyedAccounts ka[1];
SolKeyedAccount ka[1];
uint64_t ka_len;
const uint8_t *data;
uint64_t data_len;

View File

@@ -5,7 +5,7 @@
#include <solana_sdk.h>
extern bool entrypoint(const uint8_t *input) {
SolKeyedAccounts ka[1];
SolKeyedAccount ka[1];
uint64_t ka_len;
const uint8_t *data;
uint64_t data_len;