From e7256e70cefd2d9ff3dd3d027f8167aecb8e8032 Mon Sep 17 00:00:00 2001 From: darkfi Date: Thu, 8 May 2025 08:17:47 +0200 Subject: [PATCH] contract: minor fix s/PowReward/PoWReward/ to be consistent in logs --- src/contract/money/src/client/pow_reward_v1.rs | 2 +- src/contract/money/src/entrypoint/pow_reward_v1.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/contract/money/src/client/pow_reward_v1.rs b/src/contract/money/src/client/pow_reward_v1.rs index ccd830cb8..2ac28c3fb 100644 --- a/src/contract/money/src/client/pow_reward_v1.rs +++ b/src/contract/money/src/client/pow_reward_v1.rs @@ -80,7 +80,7 @@ pub struct PoWRewardCallBuilder { impl PoWRewardCallBuilder { fn _build(&self, value: u64) -> Result { - debug!(target: "contract::money::client::pow_reward", "Building Money::PowRewardV1 contract call"); + debug!(target: "contract::money::client::pow_reward", "Building Money::PoWRewardV1 contract call"); // In this call, we will build one clear input and one anonymous output. // Only DARK_TOKEN_ID can be minted as PoW reward. diff --git a/src/contract/money/src/entrypoint/pow_reward_v1.rs b/src/contract/money/src/entrypoint/pow_reward_v1.rs index a5d359aab..06fb24b77 100644 --- a/src/contract/money/src/entrypoint/pow_reward_v1.rs +++ b/src/contract/money/src/entrypoint/pow_reward_v1.rs @@ -172,11 +172,11 @@ pub(crate) fn money_pow_reward_process_update_v1( let fees_db = wasm::db::db_lookup(cid, MONEY_CONTRACT_FEES_TREE)?; // Generate the accumulator for the next height - msg!("[PowRewardV1] Creating next height fees accumulator"); + msg!("[PoWRewardV1] Creating next height fees accumulator"); wasm::db::db_set(fees_db, &serialize(&(update.height + 1)), &serialize(&0_u64))?; // This will just make a snapshot to match the coins one - msg!("[PowRewardV1] Updating nullifiers snapshot"); + msg!("[PoWRewardV1] Updating nullifiers snapshot"); wasm::merkle::sparse_merkle_insert_batch( info_db, nullifiers_db,