Fix spelling errors

This commit is contained in:
a3d4
2020-05-25 02:54:37 +02:00
parent 32bec6b374
commit a499ef16fa
10 changed files with 24 additions and 23 deletions
+3 -3
View File
@@ -193,7 +193,7 @@ contract ico is safeMath {
function setICOEthPrice(uint256 value) external {
/*
Setting of the ICO ETC USD rates which can only be calle by a pre-defined address.
Setting of the ICO ETC USD rates which can only be called by a pre-defined address.
After this function is completed till the call of the next function (which is at least an exchangeRateDelay array) this rate counts.
With this process avoiding the sudden rate changes.
@@ -221,8 +221,8 @@ contract ico is safeMath {
/*
Closing the ICO.
It is only possible when the ICO period passed and only by the owner.
The 96% of the whole amount of the token is generated to the address of the fundation.
Ethers which are situated in this contract will be sent to the address of the fundation.
The 96% of the whole amount of the token is generated to the address of the foundation.
Ethers which are situated in this contract will be sent to the address of the foundation.
*/
require( msg.sender == owner );
require( block.number > icoDelay );
+10 -10
View File
@@ -826,8 +826,8 @@ BOOST_AUTO_TEST_CASE(block_deduplicator)
Instruction::JUMP,
AssemblyItem(Tag, 3)
};
BlockDeduplicator dedup(input);
dedup.deduplicate();
BlockDeduplicator deduplicator(input);
deduplicator.deduplicate();
set<u256> pushTags;
for (AssemblyItem const& item: input)
@@ -857,8 +857,8 @@ BOOST_AUTO_TEST_CASE(block_deduplicator_assign_immutable_same)
AssemblyItem(PushTag, 1),
AssemblyItem(PushTag, 1),
} + blocks;
BlockDeduplicator dedup(input);
dedup.deduplicate();
BlockDeduplicator deduplicator(input);
deduplicator.deduplicate();
BOOST_CHECK_EQUAL_COLLECTIONS(input.begin(), input.end(), output.begin(), output.end());
}
@@ -876,8 +876,8 @@ BOOST_AUTO_TEST_CASE(block_deduplicator_assign_immutable_different_value)
AssemblyItem{AssignImmutable, 0x1234},
Instruction::JUMP
};
BlockDeduplicator dedup(input);
BOOST_CHECK(!dedup.deduplicate());
BlockDeduplicator deduplicator(input);
BOOST_CHECK(!deduplicator.deduplicate());
}
BOOST_AUTO_TEST_CASE(block_deduplicator_assign_immutable_different_hash)
@@ -894,8 +894,8 @@ BOOST_AUTO_TEST_CASE(block_deduplicator_assign_immutable_different_hash)
AssemblyItem{AssignImmutable, 0xABCD},
Instruction::JUMP
};
BlockDeduplicator dedup(input);
BOOST_CHECK(!dedup.deduplicate());
BlockDeduplicator deduplicator(input);
BOOST_CHECK(!deduplicator.deduplicate());
}
BOOST_AUTO_TEST_CASE(block_deduplicator_loops)
@@ -920,8 +920,8 @@ BOOST_AUTO_TEST_CASE(block_deduplicator_loops)
AssemblyItem(PushTag, 2),
Instruction::JUMP,
};
BlockDeduplicator dedup(input);
dedup.deduplicate();
BlockDeduplicator deduplicator(input);
deduplicator.deduplicate();
set<u256> pushTags;
for (AssemblyItem const& item: input)