From 0856ba45d807443068bf5c33ee0ce42b5c10310a Mon Sep 17 00:00:00 2001 From: Tom McCabe Date: Fri, 5 Aug 2016 13:13:20 -0500 Subject: [PATCH] remove unnecessary comment --- .../scala/org/bitcoins/core/script/crypto/HashType.scala | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/scala/org/bitcoins/core/script/crypto/HashType.scala b/src/main/scala/org/bitcoins/core/script/crypto/HashType.scala index 5e29050f50..1163e9e508 100644 --- a/src/main/scala/org/bitcoins/core/script/crypto/HashType.scala +++ b/src/main/scala/org/bitcoins/core/script/crypto/HashType.scala @@ -77,12 +77,6 @@ object HashType extends Factory[HashType] { */ object SIGHASH_ALL extends Factory[SIGHASH_ALL] { - /** - * This seems strange, but it needs to take a parameter. This is because - * SIGHASH_ALL is essentially a catch all if the none of the other hash types are matched. - * Therefore SIGHASH_ALL could be represented by the byte 0x05 since 0x05 does not match - * any of the other hash types. The default byte for SIGHASH_ALL is 0x01 - */ private case class SIGHASH_ALLImpl(num: Int32) extends SIGHASH_ALL { require(HashType.isSIGHASH_ALL(num), "SIGHASH_ALL acts as a 'catch-all' for undefined hashtypes, and has a default " + "value of one. Your input was: " + num + ", which is of hashType: " + HashType(num))