aboutsummaryrefslogtreecommitdiffstats
path: root/src/handlers.rs
diff options
context:
space:
mode:
authorYigit Sever2021-04-10 15:14:37 +0300
committerYigit Sever2021-04-10 15:14:37 +0300
commit38a928a47f94d9f456c9c53f5db4fcd19165e7ac (patch)
treedfeeb91b3761d767962cc446ce7e31461ce3c124 /src/handlers.rs
parent52b95ace5c67e37300c976f344bc0aacaa278639 (diff)
downloadgradecoin-38a928a47f94d9f456c9c53f5db4fcd19165e7ac.tar.gz
gradecoin-38a928a47f94d9f456c9c53f5db4fcd19165e7ac.tar.bz2
gradecoin-38a928a47f94d9f456c9c53f5db4fcd19165e7ac.zip
agliyo
Diffstat (limited to 'src/handlers.rs')
-rw-r--r--src/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers.rs b/src/handlers.rs
index 89905a3..8908bfc 100644
--- a/src/handlers.rs
+++ b/src/handlers.rs
@@ -61,7 +61,7 @@ pub async fn propose_transaction(
61/// POST /transaction, authenticated 61/// POST /transaction, authenticated
62/// The transaction arrived in this method has been authored by the public key in the source 62/// The transaction arrived in this method has been authored by the public key in the source
63pub async fn propose_authenticated_transaction( 63pub async fn propose_authenticated_transaction(
64 header: HeaderMap<HeaderName, HeaderValue>, 64 pubkey: String,
65 new_transaction: Transaction, 65 new_transaction: Transaction,
66 db: Db, 66 db: Db,
67) -> Result<impl warp::Reply, warp::Rejection> { 67) -> Result<impl warp::Reply, warp::Rejection> {