mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-20 15:10:32 +00:00
boost
This commit is contained in:
@@ -54,9 +54,9 @@ pub fn process_initialize(accounts: &[AccountInfo<'_>], _data: &[u8]) -> Program
|
||||
)?;
|
||||
let config = config_info.as_account_mut::<Config>(&ore_api::ID)?;
|
||||
config.admin = *signer_info.key;
|
||||
config.block_duration = 0;
|
||||
config.sniper_fee_duration = 0;
|
||||
config.last_boost = 0;
|
||||
config.fee_collector = *signer_info.key;
|
||||
config.sniper_fee_duration = 0;
|
||||
config.fee_rate = 0;
|
||||
} else {
|
||||
config_info.as_account::<Config>(&ore_api::ID)?;
|
||||
|
||||
Reference in New Issue
Block a user