<commit_before>package org.bitcoins.core.protocol.script

import org.bitcoins.core.gen.ScriptGenerators
import org.bitcoins.core.util.BitcoinSLogger
import org.scalacheck.{ Prop, Properties }

/**
 * Created by chris on 6/22/16.
 */
class P2PKScriptSignatureSpec extends Properties("P2PKSpec") {
  private def logger = BitcoinSLogger.logger

  property("Serialization symmetry") =
    Prop.forAll(ScriptGenerators.p2pkScriptSignature) { p2pkScriptSig =>
      logger.info("P2PKScriptSig: " + p2pkScriptSig)
      logger.info("p2pk hex: " + p2pkScriptSig.hex)
      P2PKScriptSignature(p2pkScriptSig.hex) == p2pkScriptSig
    }
}<commit_msg>reduce logging in scalacheck<commit_after>package org.bitcoins.core.protocol.script

import org.bitcoins.core.gen.ScriptGenerators
import org.bitcoins.core.util.BitcoinSLogger
import org.scalacheck.{ Prop, Properties }

/**
 * Created by chris on 6/22/16.
 */
class P2PKScriptSignatureSpec extends Properties("P2PKSpec") {
  private def logger = BitcoinSLogger.logger

  property("Serialization symmetry") =
    Prop.forAll(ScriptGenerators.p2pkScriptSignature) { p2pkScriptSig =>
      P2PKScriptSignature(p2pkScriptSig.hex) == p2pkScriptSig
    }
}
{'fraction_non_alphanumeric': 0.10504201680672269, 'fraction_numerical': 0.023529411764705882, 'mean_word_length': 4.955, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6349085', 'n_tokens_mistral': 395, 'n_tokens_neox': 381, 'n_words': 66}