Closed benthecarman closed 3 years ago
When trying to add breeze-viz as a Dep to bitcoin-s it caused Bouncy Castle's SECNamedCurves.getByName("secp256k1") to always return null.
breeze-viz
SECNamedCurves.getByName("secp256k1")
https://github.com/bitcoin-s/bitcoin-s/blob/4d9692f61e51e34a6aca8dfd51502d9d6622a8be/crypto/src/main/scala/org/bitcoins/crypto/CryptoParams.scala#L16
Was able to solve by using .exclude("bouncycastle", "bcprov-jdk14") when including the dep
.exclude("bouncycastle", "bcprov-jdk14")
When trying to add
breeze-viz
as a Dep to bitcoin-s it caused Bouncy Castle'sSECNamedCurves.getByName("secp256k1")
to always return null.https://github.com/bitcoin-s/bitcoin-s/blob/4d9692f61e51e34a6aca8dfd51502d9d6622a8be/crypto/src/main/scala/org/bitcoins/crypto/CryptoParams.scala#L16