Skip to content

Commit

Permalink
clear erros and warns from cargo tools
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocampos-ssa committed Aug 28, 2024
1 parent f2f73bb commit 302a981
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 23 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
[advisories]
vulnerability = "deny"
unmaintained = "deny"
notice = "deny"
unsound = "deny"
ignore = [

]

[bans]
multiple-versions = "deny"
deny = [
Expand Down Expand Up @@ -36,9 +27,6 @@ unknown-git = "deny"
github = ["klever-io"]

[licenses]
unlicensed = "deny"
allow-osi-fsf-free = "neither"
copyleft = "deny"
confidence-threshold = 0.8
allow = [
"Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/kos-sdk/src/chains/bitcoin/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ impl BTCTransaction {
match self.tx.inputs[inp_idx].partial_sigs.first_key_value() {
Some((pubkey, sig)) => {
let mut script_witness = bitcoin::Witness::new();
script_witness.push(&sig.to_vec());
script_witness.push(&pubkey.to_bytes());
script_witness.push(sig.to_vec());
script_witness.push(pubkey.to_bytes());
script_witness
}
_ => return Err(Error::TransportError("No signature found".to_string())),
Expand Down
3 changes: 2 additions & 1 deletion packages/kos-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ rust-version = { workspace = true }
alloc = ["hex/alloc"]
serde = ["dep:serde", "alloc"]
std = ["alloc", "serde?/std"]
random = ["rand"]

[dependencies]
rand = { workspace = true }
rand = { workspace = true, optional = true }
coins-bip32 = { workspace = true }
coins-bip39 = { workspace = true }
secp256k1 = { workspace = true, features = ["recovery", "rand"] }
Expand Down

0 comments on commit 302a981

Please sign in to comment.