mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 11:31:08 +03:00
parent
02b3bf4b59
commit
a717dbad96
1 changed files with 4 additions and 4 deletions
|
@ -430,15 +430,15 @@ where
|
||||||
None => HashMap::new(),
|
None => HashMap::new(),
|
||||||
};
|
};
|
||||||
let fluff = params.get("fluff").is_some();
|
let fluff = params.get("fluff").is_some();
|
||||||
Box::new(
|
Box::new(parse_body(req).and_then(
|
||||||
parse_body(req).and_then(move |slate| match api.post_tx(&slate, fluff) {
|
move |slate: Slate| match api.post_tx(&slate.tx, fluff) {
|
||||||
Ok(_) => ok(()),
|
Ok(_) => ok(()),
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
error!("post_tx: failed with error: {}", e);
|
error!("post_tx: failed with error: {}", e);
|
||||||
err(e)
|
err(e)
|
||||||
}
|
}
|
||||||
}),
|
},
|
||||||
)
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn handle_post_request(&self, req: Request<Body>) -> WalletResponseFuture {
|
fn handle_post_request(&self, req: Request<Body>) -> WalletResponseFuture {
|
||||||
|
|
Loading…
Reference in a new issue