From 54e81adac6a24291e2ee16cf5597f127122f62eb Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 14 Apr 2021 00:34:39 +0300 Subject: Add empty block test --- src/handlers.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/handlers.rs') diff --git a/src/handlers.rs b/src/handlers.rs index 1189b35..362a341 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -122,6 +122,8 @@ pub async fn authorized_propose_block( let users_store = db.users.read(); + println!("{:?}", &new_block); + let internal_user = match users_store.get(&new_block.transaction_list[0]) { Some(existing_user) => existing_user, None => { -- cgit v1.2.3-70-g09d2