fix: renamed the internal wasm_bindgen init function to avoid collision
This commit is contained in:
committed by
Michael Vines
parent
35d1235ed0
commit
7b238b3645
@@ -9,7 +9,7 @@ pub mod system_instruction;
|
||||
|
||||
/// Initialize Javascript logging and panic handler
|
||||
#[wasm_bindgen]
|
||||
pub fn init() {
|
||||
pub fn solana_program_init() {
|
||||
use std::sync::Once;
|
||||
static INIT: Once = Once::new();
|
||||
|
||||
|
Reference in New Issue
Block a user