We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 675be3b commit 6d64cd4Copy full SHA for 6d64cd4
core/src/pool_commands/publish_datapoint.rs
@@ -48,6 +48,7 @@ pub enum PublishDatapointActionError {
48
OracleContract(#[from] OracleContractError),
49
}
50
51
+#[allow(clippy::too_many_arguments)]
52
pub fn build_subsequent_publish_datapoint_action(
53
local_datapoint_box: &OracleBoxWrapper,
54
node_api: &dyn NodeApiTrait,
core/src/pool_commands/refresh.rs
@@ -133,7 +133,7 @@ pub fn build_refresh_action(
133
];
134
let my_input_oracle_box_index: i32 = valid_in_oracle_boxes
135
.iter()
136
- .position(|b| &b.public_key() == &my_oracle_pk)
+ .position(|b| b.public_key() == my_oracle_pk)
137
.ok_or(RefreshActionError::MyOracleBoxNoFound)?
138
as i32;
139
0 commit comments