Skip to content

Commit

Permalink
pallet-bounties: remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
BigTava committed Feb 28, 2025
1 parent 91eb76d commit 2ef5617
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions substrate/frame/bounties/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,6 @@ pub mod pallet {
bounty.value <= max_amount,
pallet_treasury::Error::<T, I>::InsufficientPermission
);
println!("bounty: {:?}", bounty);
match bounty.status {
BountyStatus::Funded => {},
_ => return Err(Error::<T, I>::UnexpectedStatus.into()),
Expand Down Expand Up @@ -578,7 +577,7 @@ pub mod pallet {

Bounties::<T, I>::try_mutate_exists(bounty_id, |maybe_bounty| -> DispatchResult {
let bounty = maybe_bounty.as_mut().ok_or(Error::<T, I>::InvalidIndex)?;
println!("bounty: {:?}", bounty);

match bounty.status {
BountyStatus::CuratorProposed { ref curator } => {
ensure!(signer == *curator, Error::<T, I>::RequireCurator);
Expand Down

0 comments on commit 2ef5617

Please sign in to comment.