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 211f832..f39e98a 100644 --- a/src/routes.rs +++ b/src/routes.rs | |||
| @@ -65,7 +65,7 @@ pub fn auth_transaction_propose( | |||
| 65 | .and(custom_filters::transaction_json_body()) | 65 | .and(custom_filters::transaction_json_body()) |
| 66 | .and(custom_filters::auth_header()) | 66 | .and(custom_filters::auth_header()) |
| 67 | .and(custom_filters::with_db(db)) | 67 | .and(custom_filters::with_db(db)) |
| 68 | .and_then(handlers::authorized_propose_transaction) | 68 | .and_then(handlers::propose_transaction) |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | /// POST /block warp route | 71 | /// POST /block warp route |
| @@ -75,5 +75,5 @@ pub fn auth_block_propose(db: Db) -> impl Filter<Extract = impl Reply, Error = R | |||
| 75 | .and(custom_filters::block_json_body()) | 75 | .and(custom_filters::block_json_body()) |
| 76 | .and(custom_filters::auth_header()) | 76 | .and(custom_filters::auth_header()) |
| 77 | .and(custom_filters::with_db(db)) | 77 | .and(custom_filters::with_db(db)) |
| 78 | .and_then(handlers::authorized_propose_block) | 78 | .and_then(handlers::propose_block) |
| 79 | } | 79 | } |
