-
Notifications
You must be signed in to change notification settings - Fork 33
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
redefine "pegout" to better match elementsd RPC #17
Conversation
7e33918
to
a24b19b
Compare
LGTM. I built hal-elements with this. |
a24b19b
to
3e13349
Compare
Rebased; changed version to 0.7.1 rather than 0.6.1 |
1ef2ad0
to
1c92c2a
Compare
LGTM |
Appears to sync with elementsd. utACK |
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.
re-ACK 1c92c2a
working with hal-elements too
1c92c2a
to
4d7ad73
Compare
Rebased. |
Looks good I believe with ElementsProject/elements#610 both rust-elements and elements should agree. |
@@ -400,23 +404,37 @@ impl TxOut { | |||
|
|||
// Parse destination scriptpubkey | |||
let script_pubkey = if let Some(Instruction::PushBytes(data)) = iter.next() { | |||
Script::from(data.to_owned()) | |||
if data.is_empty() { |
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.
Elements was modified to make 0 byte pushes legal @ https://github.com/ElementsProject/elements/pull/610/files#diff-f7ca24fb80ddba0f291cb66344ca6fcbR222
So this block needs to be reverted now.
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.
not merged yet! but looks like ACKs from relevant parties
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.
oh indeed.
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.
610 is now merged and this needs to be reverted now.
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.
No description provided.