diff options
Diffstat (limited to 'src/routes.rs')
-rw-r--r-- | src/routes.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes.rs b/src/routes.rs index 0fb61c4..280de35 100644 --- a/src/routes.rs +++ b/src/routes.rs | |||
@@ -48,7 +48,7 @@ pub fn auth_transaction_propose( | |||
48 | .and(custom_filters::transaction_json_body()) | 48 | .and(custom_filters::transaction_json_body()) |
49 | .and(custom_filters::auth_header()) | 49 | .and(custom_filters::auth_header()) |
50 | .and(custom_filters::with_db(db)) | 50 | .and(custom_filters::with_db(db)) |
51 | .and_then(handlers::auth_propose_transaction) | 51 | .and_then(handlers::authorized_propose_transaction) |
52 | } | 52 | } |
53 | 53 | ||
54 | /// POST /block warp route | 54 | /// POST /block warp route |
@@ -58,6 +58,6 @@ pub fn auth_block_propose(db: Db) -> impl Filter<Extract = impl Reply, Error = R | |||
58 | .and(custom_filters::block_json_body()) | 58 | .and(custom_filters::block_json_body()) |
59 | .and(custom_filters::auth_header()) | 59 | .and(custom_filters::auth_header()) |
60 | .and(custom_filters::with_db(db)) | 60 | .and(custom_filters::with_db(db)) |
61 | .and_then(handlers::auth_propose_block) | 61 | .and_then(handlers::authorized_propose_block) |
62 | } | 62 | } |
63 | 63 | ||