From aa54d5452917348c8c57c3bf9bac66bb019d5d2b Mon Sep 17 00:00:00 2001 From: Anton Lysakov Date: Tue, 28 Aug 2018 17:48:47 +0700 Subject: [PATCH] Described tokename dicename length limits --- qa/rpc-tests/cryptoconditions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/rpc-tests/cryptoconditions.py b/qa/rpc-tests/cryptoconditions.py index ceb6237fd..cc88e8fac 100755 --- a/qa/rpc-tests/cryptoconditions.py +++ b/qa/rpc-tests/cryptoconditions.py @@ -149,7 +149,7 @@ class CryptoConditionsTest (BitcoinTestFramework): result = rpc.dicelist() assert_equal(result, []) - # creating dice plan with too long name + # creating dice plan with too long name (>8 chars) result = rpc.dicefund("THISISTOOLONG", "10000", "10", "10000", "10", "5") assert_error(result) @@ -304,7 +304,7 @@ class CryptoConditionsTest (BitcoinTestFramework): result = rpc.tokencreate("NUKE", "-1987420", "no bueno supply") assert_error(result) - # creating token with name more than 16 chars + # creating token with name more than 32 chars result = rpc.tokencreate("NUKE123456789012345678901234567890", "1987420", "name too long") assert_error(result)