Skip to content

Commit

Permalink
Merge pull request #8 from anoma/fraccaman/minors
Browse files Browse the repository at this point in the history
minors
  • Loading branch information
Fraccaman authored Aug 8, 2024
2 parents 1c3a2d7 + 2f7dc76 commit 50b691b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shielding_reward_party/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ pub const KD_GAIN: &str = "120000";

#[transaction]
fn apply_tx(ctx: &mut Ctx, _tx_data: BatchedTx) -> TxResult {
let nam_address = ctx.get_native_token()?;

// Enable NAM transfers
let native_token_transferable_key = parameters_storage::get_native_token_transferable_key();
ctx.write(&native_token_transferable_key, true)?;

// Enable NAM MASP rewards
let nam_address = ctx.get_native_token()?;

let shielded_token_last_inflation_key =
token::storage_key::masp_last_inflation_key(&nam_address);
let shielded_token_last_locked_amount_key =
Expand Down

0 comments on commit 50b691b

Please sign in to comment.