Removes redundant parentheses, whitelists them in generated code (#7721)

This commit is contained in:
Dmitry Kashitsyn
2018-01-31 15:48:37 +07:00
committed by Afri Schoedon
parent dae99cc53e
commit a412f7cca6
15 changed files with 26 additions and 26 deletions

View File

@@ -129,7 +129,7 @@ impl<D: Dispatcher + 'static> ParitySigning for SigningUnsafeClient<D> {
fn post_transaction(&self, _: Metadata, _: RpcTransactionRequest) -> BoxFuture<RpcEither<RpcU256, RpcConfirmationResponse>> {
// We don't support this in non-signer mode.
Box::new(future::err((errors::signer_disabled())))
Box::new(future::err(errors::signer_disabled()))
}
fn check_request(&self, _: RpcU256) -> Result<Option<RpcConfirmationResponse>> {