Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
fix rlp tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NikVolf committed Dec 22, 2016
1 parent 6360e0a commit 2cd1b87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion util/rlp/src/rlpin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ impl<'a, 'view> Iterator for RlpIterator<'a, 'view> {
#[test]
fn break_it() {
use rustc_serialize::hex::FromHex;
use bigint::uint::U256;
use bigint::prelude::U256;

let h: Vec<u8> = FromHex::from_hex("f84d0589010efbef67941f79b2a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470").unwrap();
let r: Rlp = Rlp::new(&h);
Expand Down
2 changes: 1 addition & 1 deletion util/rlp/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
use std::{fmt, cmp};
use std::str::FromStr;
use ::{Encodable, RlpDecodable, UntrustedRlp, RlpStream, View, Stream, DecoderError};
use bigint::uint::U256;
use bigint::prelude::U256;

#[test]
fn rlp_at() {
Expand Down

0 comments on commit 2cd1b87

Please sign in to comment.