Skip to content

Commit

Permalink
Call try_into() instead of into() on EthBridgeVotingPower
Browse files Browse the repository at this point in the history
  • Loading branch information
sug0 committed Jul 9, 2023
1 parent 8df0a04 commit 9187d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/types/eth_abi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ mod tests {
)
.expect("Test failed"),
],
voting_powers: vec![8828299.into()],
voting_powers: vec![8828299.try_into().unwrap()],
epoch: 0.into(),
};
let encoded = valset_update.encode().into_inner();
Expand Down

0 comments on commit 9187d2e

Please sign in to comment.