From 7f46ddb6cc54bf4133131e0c9c1afdfbe2f7bc7d Mon Sep 17 00:00:00 2001 From: vsubhuman Date: Thu, 8 Nov 2018 02:18:43 +0300 Subject: [PATCH] changed long address limit to 2K symbols --- blockchain-importer/src/Pos/BlockchainImporter/Tables/Utils.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockchain-importer/src/Pos/BlockchainImporter/Tables/Utils.hs b/blockchain-importer/src/Pos/BlockchainImporter/Tables/Utils.hs index c597cd5e6..d4e85c708 100644 --- a/blockchain-importer/src/Pos/BlockchainImporter/Tables/Utils.hs +++ b/blockchain-importer/src/Pos/BlockchainImporter/Tables/Utils.hs @@ -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