Skip to content

Commit

Permalink
Merge pull request #4 from Emurgo/fix-long-addresses
Browse files Browse the repository at this point in the history
Changed long address limit to 2K symbols
  • Loading branch information
nicarq committed Nov 7, 2018
2 parents 5f23609 + 7f46ddb commit e85bb58
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -34,7 +34,7 @@ hashToString :: AbstractHash algo a -> String
hashToString h = toString $ sformat hashHexF h

cutDownLongAddress :: String -> String
cutDownLongAddress = take 7000
cutDownLongAddress = take 2000

addressToString :: Address -> String
addressToString addr = cutDownLongAddress . toString $ sformat addressF addr
Expand Down

0 comments on commit e85bb58

Please sign in to comment.