Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
feat: 2 packages update
Browse files Browse the repository at this point in the history
  • Loading branch information
ASuciuX committed Nov 24, 2023
1 parent 99cccd4 commit d3fdb39
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions pox-locking/src/pox_3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@ pub fn pox_lock_extend_v3(
Ok(amount_locked)
}

pub fn pox_lock_extend_v3_not_tested(

Check failure on line 104 in pox-locking/src/pox_3.rs

View workflow job for this annotation

GitHub Actions / clippy

function `pox_lock_extend_v3_not_tested` is never used

error: function `pox_lock_extend_v3_not_tested` is never used --> pox-locking/src/pox_3.rs:104:8 | 104 | pub fn pox_lock_extend_v3_not_tested( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D dead-code` implied by `-D warnings`
db: &mut ClarityDatabase,

Check failure on line 105 in pox-locking/src/pox_3.rs

View workflow job for this annotation

GitHub Actions / clippy

unused variable: `db`

error: unused variable: `db` --> pox-locking/src/pox_3.rs:105:5 | 105 | db: &mut ClarityDatabase, | ^^ help: if this is intentional, prefix it with an underscore: `_db` | = note: `-D unused-variables` implied by `-D warnings`
principal: &PrincipalData,

Check failure on line 106 in pox-locking/src/pox_3.rs

View workflow job for this annotation

GitHub Actions / clippy

unused variable: `principal`

error: unused variable: `principal` --> pox-locking/src/pox_3.rs:106:5 | 106 | principal: &PrincipalData, | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal`
unlock_burn_height: u64,

Check failure on line 107 in pox-locking/src/pox_3.rs

View workflow job for this annotation

GitHub Actions / clippy

unused variable: `unlock_burn_height`

error: unused variable: `unlock_burn_height` --> pox-locking/src/pox_3.rs:107:5 | 107 | unlock_burn_height: u64, | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unlock_burn_height`
) -> Result<u128, LockingError> {
Ok(1231)
}

/// Increase a STX lock up for PoX-3. Does NOT touch the account nonce.
/// Returns Ok( account snapshot ) when successful
///
Expand Down
2 changes: 1 addition & 1 deletion stx-genesis/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl Iterator for LinePairReader {
}
}
fn count(self) -> usize {
123123
32332
}
}

Expand Down

0 comments on commit d3fdb39

Please sign in to comment.