From 53beb9db30f828f6ecb3710a761e2f8d6cf3feb2 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 23 Jan 2024 18:37:47 +1100 Subject: [PATCH] Remove ancient todos in test code These todos has been here since 2015 and 2016- I don't think they are getting done anytime soon, just remove them. --- bitcoin/src/blockdata/block.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/bitcoin/src/blockdata/block.rs b/bitcoin/src/blockdata/block.rs index a12e648e..53155904 100644 --- a/bitcoin/src/blockdata/block.rs +++ b/bitcoin/src/blockdata/block.rs @@ -534,7 +534,6 @@ mod tests { ); assert_eq!(real_decode.header.difficulty(network), 1); assert_eq!(real_decode.header.difficulty_float(), 1.0); - // [test] TODO: check the transaction data assert_eq!(real_decode.total_size(), some_block.len()); assert_eq!(real_decode.base_size(), some_block.len()); @@ -577,7 +576,6 @@ mod tests { ); assert_eq!(real_decode.header.difficulty(network), 2456598); assert_eq!(real_decode.header.difficulty_float(), 2456598.4399242126); - // [test] TODO: check the transaction data assert_eq!(real_decode.total_size(), segwit_block.len()); assert_eq!(real_decode.base_size(), 4283);