client icon indicating copy to clipboard operation
client copied to clipboard

Validate hashes before setting hashes in setTransactionHashes method

Open peter279k opened this issue 6 years ago • 0 comments

As title, the hashes should be validated before setting the array hash in setTransactionHashes method. And the setTransactionHashes method are available in some classes. It can checkout the following captured picture. image

I think we can use the isArrayOfHashes to validate that hash is correct format.

It's related to issue #64 and PR #68 .

peter279k avatar Sep 13 '18 18:09 peter279k