Skip to content

Commit

Permalink
Merge b4a1fec into 47a11de
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat committed Mar 10, 2023
2 parents 47a11de + b4a1fec commit 1813ed8
Show file tree
Hide file tree
Showing 6 changed files with 839 additions and 52 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ tokio-util = { version = "0.6.9", features = ["codec"] }
bounded-integer = { version = "^0.5", features = ["types"] }
url = "2.2"
getrandom = { version = "0.2.7" }
itertools = "0.10.3"

# dev-dependencies
proptest = { version = "=1.0", default-features = false, features = ["std"] }
Expand Down
1 change: 1 addition & 0 deletions ergo-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ unicode-normalization = "0.1.19"
lazy_static = { workspace = true }
proptest = { workspace = true , optional = true }
serde_with = { workspace = true, optional = true }
itertools = { workspace = true }


[features]
Expand Down
2 changes: 1 addition & 1 deletion ergo-lib/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ impl Wallet {
.collect();
for (index, input) in reduced_tx.reduced_inputs().iter().enumerate() {
let sigma_prop = input.clone().reduction_result.sigma_prop;
let hints = generate_commitments_for(sigma_prop, &public_keys);
let hints = generate_commitments_for(&sigma_prop, &public_keys);
tx_hints.add_hints_for_input(index, hints);
}
Ok(tx_hints)
Expand Down

0 comments on commit 1813ed8

Please sign in to comment.