From f20665c41a9868f5eb055c7fa5d4dfb19168c92e Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 2 Dec 2015 23:50:14 +0100 Subject: [PATCH] Fix test. --- src/trie.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/trie.rs b/src/trie.rs index 1dde1993c..64af55a5e 100644 --- a/src/trie.rs +++ b/src/trie.rs @@ -887,9 +887,11 @@ mod tests { #[test] fn test_node_empty_branch() { - let branch = Node::Branch([&b""[..]; 16], None); + let null_rlp = NULL_RLP; + let branch = Node::Branch([&null_rlp; 16], None); let rlp = branch.encoded(); let branch2 = Node::decoded(&rlp); + println!("{:?}", rlp); assert_eq!(branch, branch2); }