Program_ids were overlapping (#1626)

Program_ids were overlapping
This commit is contained in:
jackcmay
2018-10-26 19:44:53 -07:00
committed by Michael Vines
parent 7f29c1fe23
commit fdaad1d85b
7 changed files with 81 additions and 20 deletions

View File

@@ -40,7 +40,9 @@ fn create_path(name: &str) -> PathBuf {
)
}
const NATIVE_LOADER_PROGRAM_ID: [u8; 32] = [2u8; 32];
const NATIVE_LOADER_PROGRAM_ID: [u8; 32] = [
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
];
// All native programs export a symbol named process()
const ENTRYPOINT: &str = "process";