diff --git a/pox-locking/src/pox_2.rs b/pox-locking/src/pox_2.rs index e2b605786eb..64e9b6a803a 100644 --- a/pox-locking/src/pox_2.rs +++ b/pox-locking/src/pox_2.rs @@ -175,7 +175,7 @@ pub fn parse_pox_increase(result: &Value) -> std::result::Result<(PrincipalData, /// - Returns Error::PoxExtendNotLocked if this function was called on an account /// which isn't locked. This *should* have been checked by the PoX v2 contract, /// so this should surface in a panic. -pub fn pox_lock_increase_v2( +fn pox_lock_increase_v2( db: &mut ClarityDatabase, principal: &PrincipalData, new_total_locked: u128, @@ -228,7 +228,7 @@ pub fn pox_lock_increase_v2( /// - Returns Error::PoxExtendNotLocked if this function was called on an account /// which isn't locked. This *should* have been checked by the PoX v2 contract, /// so this should surface in a panic. -pub fn pox_lock_extend_v2( +fn pox_lock_extend_v2( db: &mut ClarityDatabase, principal: &PrincipalData, unlock_burn_height: u64, diff --git a/pox-locking/src/pox_3.rs b/pox-locking/src/pox_3.rs index 1aefe8ec05d..ce44ca64c49 100644 --- a/pox-locking/src/pox_3.rs +++ b/pox-locking/src/pox_3.rs @@ -60,7 +60,7 @@ pub(crate) fn is_read_only(func_name: &str) -> bool { } /// Lock up STX for PoX for a time. Does NOT touch the account nonce. -pub fn pox_lock_v3( +fn pox_lock_v3( db: &mut ClarityDatabase, principal: &PrincipalData, lock_amount: u128,