removing unused CryptoTestUtil functions

This commit is contained in:
Chris Stewart 2016-08-02 15:42:05 -05:00
parent d81e7305b0
commit d5d4151b33

View File

@ -9,8 +9,6 @@ import org.bitcoins.core.crypto.{ECPrivateKey}
*/
trait CryptoTestUtil {
def privateKeyBase58 = "cVLwRLTvz3BxDAWkvS3yzT9pUcTCup7kQnfT2smRjvmmm1wAP6QT"
def privateKeyBytes = Base58.decodeCheck(privateKeyBase58).get
def privateKeyHex = BitcoinSUtil.encodeHex(privateKeyBytes)
def bitcoinjDumpedPrivateKey = new DumpedPrivateKey(BitcoinJTestUtil.params,privateKeyBase58)
def bitcoinjPrivateKey = bitcoinjDumpedPrivateKey.getKey
def privateKey = ECPrivateKey.fromWIFToPrivateKey(privateKeyBase58)