Add a Sapling bundle builder function. #58
Annotations
4 errors and 2 warnings
Run Clippy:
src/lib.rs#L165
error: using `clone` on type `jubjub::Fq` which implements the `Copy` trait
--> src/builder.rs:165:22
|
165 | let anchor = self.spend_info.merkle_path.root(node).inner().clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `*self.spend_info.merkle_path.root(node).inner()`
|
= note: `-D clippy::clone-on-copy` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
Run Clippy:
src/lib.rs#L185
error: using `clone` on type `jubjub::Fq` which implements the `Copy` trait
--> src/builder.rs:185:13
|
185 | anchor.clone(),
| ^^^^^^^^^^^^^^ help: try removing the `clone` call: `anchor`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
Run Clippy:
src/lib.rs#L485
error: length comparison to zero
--> src/builder.rs:485:15
|
485 | } else if spends.len() > 0 {
| ^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!spends.is_empty()`
|
= note: `-D clippy::len-zero` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
|
Run Clippy
error: aborting due to 3 previous errors
|
Run Clippy
clippy-action doesn't have permissions to view Check Runs, disabling!
|
Run Clippy
Resource not accessible by integration
|
The logs for this run have expired and are no longer available.
Loading