mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 13:23:10 +00:00
clippy
This commit is contained in:
parent
a432019b23
commit
e2d596be20
@ -77,7 +77,7 @@ impl Program {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: This is for testnet only, consider refactoring to have this not compiled for mainnet
|
||||
// TODO: Testnet only. Refactor to prevent compilation on mainnet.
|
||||
impl Program {
|
||||
pub fn pinata() -> Self {
|
||||
Self {
|
||||
|
||||
@ -8,7 +8,6 @@ use nssa_core::{
|
||||
account::Account,
|
||||
program::{DEFAULT_PROGRAM_ID, ProgramId},
|
||||
};
|
||||
use rand::{Rng, RngCore, rngs::OsRng};
|
||||
use std::collections::{HashMap, HashSet};
|
||||
|
||||
pub(crate) struct CommitmentSet {
|
||||
@ -207,7 +206,7 @@ impl V01State {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: This is for testnet only, consider refactoring to have this not compiled for mainnet
|
||||
// TODO: Testnet only. Refactor to prevent compilation on mainnet.
|
||||
impl V01State {
|
||||
pub fn add_pinata_program(&mut self, address: Address) {
|
||||
self.insert_program(Program::pinata());
|
||||
|
||||
@ -210,7 +210,7 @@ pub enum Command {
|
||||
addr: String,
|
||||
},
|
||||
|
||||
// TODO: This is for testnet only, consider refactoring to have this not compiled for mainnet
|
||||
// TODO: Testnet only. Refactor to prevent compilation on mainnet.
|
||||
// Claim piñata prize
|
||||
ClaimPinata {
|
||||
///pinata_addr - valid 32 byte hex string
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user