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

Commit

Permalink
Merge branch 'seun-fix-eip-712-encoding' of github.com:paritytech/par…
Browse files Browse the repository at this point in the history
…ity-ethereum into seun-fix-eip-712-encoding
  • Loading branch information
seunlanlege committed Sep 26, 2019
2 parents 2ed4b92 + 7bd9637 commit 1a73648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/EIP-712/src/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fn build_dependencies<'a>(message_type: &'a str, message_types: &'a MessageTypes

for field in fields {
// check if this field is an array type
let field_type = if let Some (index) = field.type_.find('[') {
let field_type = if let Some(index) = field.type_.find('[') {
&field.type_[..index]
} else {
&field.type_
Expand Down

0 comments on commit 1a73648

Please sign in to comment.