-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Require result of verify functions to be used #143
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
Codecov ReportAttention:
📢 Thoughts on this report? Let us know!. |
4b177d9
to
9a49cb2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build fails with:
error[E0063]: missing field `static_entropy` in initializer of `MultiSource`
--> /home/zoe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rgb-wallet-0.10.9/src/psbt/dbc.rs:119:22
|
119 | let source = mpc::MultiSource {
| ^^^^^^^^^^^^^^^^ missing `static_entropy`
@zoedberg you posted this to a wrong PR But that PR is targeted for v0.11 so of course it won't compile with 0.10 stack |
@dr-orlovsky Sorry, I haven't noticed that! Are you planning to apply this fix also to the 0.10 version? |
Which fix? From this PR or from the static entropy? |
I'm confused. I was talking about this PR. I've patched commit_verify in rgb-lib like this:
and received the build error I posted here |
@zoedberg All right, I see. My bad. So I did start Thus, this PR must be against |
9a49cb2
to
4b7ce06
Compare
@zoedberg done. Should work now. |
Anyway, my tests shows that all these changes are void, since rust enforces |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It builds and all our tests pass, thus ACK
Will switch to just
Result<(), VerifyError>
in v0.11