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

Commit

Permalink
return ApplyExtrinsicResult directly
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Jun 11, 2020
1 parent 1044965 commit 8facb2b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils/frame/rpc/system/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ where
})?;

let result = api.apply_extrinsic(&at, uxt)
.map(|outcome| outcome.map(|_| true)) // TODO read system events
.map_err(|e| RpcError {
code: ErrorCode::ServerError(Error::RuntimeError.into()),
message: "Unable to dry run extrinsic.".into(),
Expand Down

0 comments on commit 8facb2b

Please sign in to comment.