-
Notifications
You must be signed in to change notification settings - Fork 831
Remove deprecated StreamReader
#1144
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
Conversation
ac65947
to
8d7f4cb
Compare
`StreamReader` was deprecated for a while, yet we needlessly maintain it and it eats our testing time. This change removes it completely. Closes rust-bitcoin#1123
8d7f4cb
to
0c9c141
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.
ACK 0c9c141 (with the function rename).
let mut reader = StreamReader::new(&big_block[..], None); | ||
let block: Block = reader.read_next().unwrap(); | ||
let mut reader = &big_block[..]; | ||
let block = Block::consensus_decode(&mut reader).unwrap(); |
StreamReader
was deprecated for a while, yet we needlessly maintain itand it eats our testing time. This change removes it completely.
Closes #1123