fix: renamed the internal wasm_bindgen init function to avoid collision
This commit is contained in:
committed by
Michael Vines
parent
35d1235ed0
commit
7b238b3645
@ -1,6 +1,6 @@
|
||||
import { expect } from "chai";
|
||||
import { init, Hash } from "crate";
|
||||
init();
|
||||
import { solana_program_init, Hash } from "crate";
|
||||
solana_program_init();
|
||||
|
||||
// TODO: wasm_bindgen doesn't currently support exporting constants
|
||||
const HASH_BYTES = 32;
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { expect } from "chai";
|
||||
import { init, Pubkey } from "crate";
|
||||
init();
|
||||
import { solana_program_init, Pubkey } from "crate";
|
||||
solana_program_init();
|
||||
|
||||
// TODO: wasm_bindgen doesn't currently support exporting constants
|
||||
const MAX_SEED_LEN = 32;
|
||||
|
Reference in New Issue
Block a user