Skip to content

Commit

Permalink
Merge pull request #84 from binance-chain/develop
Browse files Browse the repository at this point in the history
Release 0.25.0.binance.11
  • Loading branch information
rickyyangz authored Mar 9, 2019
2 parents 0cd5e7a + 69b3d75 commit fa4356b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions types/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ func AccAddressFromHex(address string) (addr AccAddress, err error) {
return nil, err
}

if len(bz) != AddrLen {
return nil, fmt.Errorf("invalid address length, %s", address)
}
return AccAddress(bz), nil
}

Expand All @@ -64,9 +61,6 @@ func AccAddressFromBech32(address string) (addr AccAddress, err error) {
return nil, err
}

if len(bz) != AddrLen {
return nil, fmt.Errorf("invalid address length, %s", address)
}
return AccAddress(bz), nil
}

Expand Down

0 comments on commit fa4356b

Please sign in to comment.