mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-20 10:13:26 +01:00
removing unused CryptoTestUtil functions
This commit is contained in:
parent
d81e7305b0
commit
d5d4151b33
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user