mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-20 02:11:40 +01:00
Added tests for createMultiSig, addMultiSig, decodeScript, importPrivKey, signMessage, signMessageWithPrivKey, verifyMessage, importMulti
This commit is contained in:
parent
e7ad9500da
commit
00c2abcd48
@ -426,7 +426,7 @@ case class PeerNetworkInfo(
|
||||
bytessent: Int,
|
||||
bytesrecv: Int,
|
||||
conntime: UInt32,
|
||||
timeoffset: UInt32,
|
||||
timeoffset: Int,
|
||||
pingtime: Option[BigDecimal],
|
||||
minping: Option[BigDecimal],
|
||||
pingwait: Option[BigDecimal]) extends NetworkResult
|
@ -34,7 +34,7 @@ case class BumpFeeResult(
|
||||
warnings: String)
|
||||
extends WalletResult
|
||||
|
||||
case class CreateMultiSigResult(address: Address, redeemScript: ScriptPubKey)
|
||||
case class MultiSigResult(address: BitcoinAddress, redeemScript: ScriptPubKey)
|
||||
extends WalletResult
|
||||
|
||||
case class DecodeScriptResult(
|
||||
|
@ -233,8 +233,8 @@ object JsonSerializers {
|
||||
|
||||
implicit val bumpFeeReads: Reads[BumpFeeResult] = Json.reads[BumpFeeResult]
|
||||
|
||||
implicit val createMultiSigReads: Reads[CreateMultiSigResult] =
|
||||
Json.reads[CreateMultiSigResult]
|
||||
implicit val multiSigReads: Reads[MultiSigResult] =
|
||||
Json.reads[MultiSigResult]
|
||||
|
||||
implicit val decodeScriptResultReads: Reads[DecodeScriptResult] =
|
||||
((__ \ "asm").read[String] and
|
||||
|
Loading…
Reference in New Issue
Block a user