mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 10:27:59 +00:00
post rustfmt whitespace fixup (#9436)
Taking best bits of rustfmt's format_strings Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com>
This commit is contained in:
@@ -487,10 +487,9 @@ fn rpc_interface(
|
||||
) -> Result<IpAddr> {
|
||||
if is_external && is_validator && rpc_methods != RpcMethods::Unsafe {
|
||||
return Err(Error::Input(
|
||||
"--rpc-external and --ws-external options shouldn't be \
|
||||
used if the node is running as a validator. Use `--unsafe-rpc-external` \
|
||||
or `--rpc-methods=unsafe` if you understand the risks. See the options \
|
||||
description for more information."
|
||||
"--rpc-external and --ws-external options shouldn't be used if the node is running as \
|
||||
a validator. Use `--unsafe-rpc-external` or `--rpc-methods=unsafe` if you understand \
|
||||
the risks. See the options description for more information."
|
||||
.to_owned(),
|
||||
))
|
||||
}
|
||||
@@ -499,7 +498,7 @@ fn rpc_interface(
|
||||
if rpc_methods == RpcMethods::Unsafe {
|
||||
log::warn!(
|
||||
"It isn't safe to expose RPC publicly without a proxy server that filters \
|
||||
available set of RPC methods."
|
||||
available set of RPC methods."
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user