[#285] Add option of KeyAddress transaction with VUnit parameter
Description
Problem: Transfer logic is the same for ContractAddress
and KeyAddress
, though it should be different
Solution: Add slightly different logic to transfer in case destination hash is KeyAddress
. In case of KeyAddress
hash transfer requires parameter to be ValueUnit
and falls with error in other cases. Issue still requires better error message and codes duplicates to be removed
Related issue(s)
Resolves (except for tests) #285 (closed)
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Stepan Prudnikov