stBTC liquid staking token and Babylon integration #713
clippy
7 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 7 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0-nightly (a84bb95a1 2024-02-13)
- cargo 1.78.0-nightly (fc1d58fd0 2024-02-09)
- clippy 0.1.78 (a84bb95 2024-02-13)
Annotations
Check failure on line 555 in src/babylon/mod.rs
github-actions / clippy
this function has too many arguments (9/7)
error: this function has too many arguments (9/7)
--> src/babylon/mod.rs:545:5
|
545 | / pub fn new(
546 | | index: u64,
547 | | btc_key: XOnlyPublicKey,
548 | | frost_group: u64,
... |
554 | | checkpoint_index: u32,
555 | | ) -> Result<Self> {
| |_____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `-D clippy::too-many-arguments` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::too_many_arguments)]`
Check failure on line 346 in src/babylon/mod.rs
github-actions / clippy
try not to call a closure in the expression where it is declared
error: try not to call a closure in the expression where it is declared
--> src/babylon/mod.rs:346:28
|
346 | bytes.extend(script! { <timelock as i64> OP_CSV }.into_bytes());
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call
Check failure on line 340 in src/babylon/mod.rs
github-actions / clippy
try not to call a closure in the expression where it is declared
error: try not to call a closure in the expression where it is declared
--> src/babylon/mod.rs:340:19
|
340 | script! { <pk> OP_CHECKSIG }
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call
Check failure on line 338 in src/babylon/mod.rs
github-actions / clippy
try not to call a closure in the expression where it is declared
error: try not to call a closure in the expression where it is declared
--> src/babylon/mod.rs:338:19
|
338 | script! { <pk> OP_CHECKSIGVERIFY }
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call
Check failure on line 306 in src/babylon/mod.rs
github-actions / clippy
try not to call a closure in the expression where it is declared
error: try not to call a closure in the expression where it is declared
--> src/babylon/mod.rs:306:28
|
306 | bytes.extend(script! { <threshold as i64> OP_GREATERTHANOREQUAL }.into_bytes());
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call
Check failure on line 301 in src/babylon/mod.rs
github-actions / clippy
try not to call a closure in the expression where it is declared
error: try not to call a closure in the expression where it is declared
--> src/babylon/mod.rs:301:27
|
301 | script! { <pk> OP_CHECKSIGADD }
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call
Check failure on line 299 in src/babylon/mod.rs
github-actions / clippy
try not to call a closure in the expression where it is declared
error: try not to call a closure in the expression where it is declared
--> src/babylon/mod.rs:299:27
|
299 | script! { <pk> OP_CHECKSIG }
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call
= note: `-D clippy::redundant-closure-call` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_closure_call)]`