Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include closing method in anchor #85

Merged
merged 1 commit into from
Apr 12, 2024
Merged

Include closing method in anchor #85

merged 1 commit into from
Apr 12, 2024

Conversation

dr-orlovsky
Copy link
Member

No description provided.

@dr-orlovsky dr-orlovsky self-assigned this Apr 7, 2024
@dr-orlovsky dr-orlovsky merged commit 95f0ad8 into v0.11 Apr 12, 2024
@zoedberg
Copy link
Contributor

@dr-orlovsky after merging this v0.11 branches do not compile anymore, specifically psbt compilation is now failing with the following error:

error[E0061]: this function takes 3 arguments but 2 arguments were supplied
  --> /home/zoe/.cargo/git/checkouts/bp-std-bb8eef8e595b34fb/79cee68/psbt/src/csval/dbc.rs:83:12
   |
83 |         Ok(Anchor::new(mpc_proof, dbc_proof))
   |            ^^^^^^^^^^^---------------------- an argument of type `Method` is missing
   |
note: associated function defined here
  --> /home/zoe/.cargo/git/checkouts/bp-core-448b0ccbc7196e74/95f0ad8/dbc/src/anchor.rs:83:12
   |
83 |     pub fn new(mpc_proof: L, dbc_proof: D, method: M) -> Self {
   |            ^^^
help: provide the argument
   |
83 |         Ok(Anchor::new(mpc_proof, dbc_proof, /* Method */))
   |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For more information about this error, try `rustc --explain E0061`.
error: could not compile `psbt` (lib) due to 1 previous error

@dr-orlovsky
Copy link
Member Author

Sorry, somehow update in my IDE hasn't happened. Anyway, fixed now - just update the last tip of all v0.11 branches

@dr-orlovsky dr-orlovsky deleted the anchor-method branch September 4, 2024 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants