Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
gavofyork committed Apr 5, 2018
1 parent 30ccc23 commit d82e591
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions polkadot/transaction-pool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl PolkadotBlock {
Call::Timestamp(TimestampCall::set(_)) => return Err(unchecked),
_ => {}
}

// any further checks...
Ok(PolkadotBlock { block: unchecked, location: None })
}
Expand Down Expand Up @@ -378,8 +378,8 @@ impl substrate_rpc::author::AsyncAuthorApi for TransactionPool {
fn submit_extrinsic(&mut self, xt: Extrinsic) -> substrate_rpc::author::error::Result<()> {
self.import(xt
.using_encoded(|ref mut s| UncheckedExtrinsic::decode(s))
.ok_or(substrate_rpc::author::error::ErrorKind::InvalidFormat)?
).map(|_| ())
.ok_or(substrate_rpc::author::error::ErrorKind::InvalidFormat)?)
.map(|_| ())
.map_err(|_| substrate_rpc::author::error::ErrorKind::PoolError.into())
}
}
Expand Down

0 comments on commit d82e591

Please sign in to comment.