From c03321bc059ed733970d8a696acb461428b1d284 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 10 Apr 2021 14:44:40 +0300 Subject: dunno --- src/handlers.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/handlers.rs') diff --git a/src/handlers.rs b/src/handlers.rs index 256e72a..89905a3 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -61,10 +61,12 @@ pub async fn propose_transaction( /// POST /transaction, authenticated /// The transaction arrived in this method has been authored by the public key in the source pub async fn propose_authenticated_transaction( - pubkey: String, + header: HeaderMap, new_transaction: Transaction, db: Db, ) -> Result { + + // auth logic debug!("new transaction request {:?}", new_transaction); // let mut transactions = db.lock().await; -- cgit v1.2.3-70-g09d2