Skip to content

Commit

Permalink
FMT
Browse files Browse the repository at this point in the history
  • Loading branch information
adizere committed Mar 15, 2021
1 parent 7769162 commit 959f8dd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/src/ics02_client/msgs/upgrade_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ impl TryFrom<RawMsgUpgradeClient> for MsgUpgradeAnyClient {
type Error = Kind;

fn try_from(proto_msg: RawMsgUpgradeClient) -> Result<Self, Self::Error> {
let raw_client_state = proto_msg
.client_state
.ok_or(Kind::InvalidRawClientState)?;
let raw_client_state = proto_msg.client_state.ok_or(Kind::InvalidRawClientState)?;
let raw_consensus_state = proto_msg
.consensus_state
.ok_or(Kind::InvalidRawConsensusState)?;
Expand Down

0 comments on commit 959f8dd

Please sign in to comment.