Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,15 @@ impl MasternodeVoteTransitionWasm {
self.0.is_voting_state_transition()
}

/// Masternode vote transitions do not support user fee increase; always returns 0.
/// This method is kept for API compatibility.
#[wasm_bindgen(js_name=getUserFeeIncrease)]
pub fn get_user_fee_increase(&self) -> u16 {
0
}

/// Masternode vote transitions do not support user fee increase.
/// This method is kept for API compatibility and intentionally does nothing.
#[wasm_bindgen(js_name=setUserFeeIncrease)]
pub fn set_user_fee_increase(&mut self, _user_fee_increase: u16) {}

Expand Down
Loading