mirror of
https://github.com/corda/corda.git
synced 2025-06-22 09:08:49 +00:00
Support for multi-sig schemes. ECC (K1/R1) and EdDSA are fully supported. (#599)
Support for multi-sig scheme. ECC (K1/R1) and EdDSA are fully supported.
This commit is contained in:
committed by
GitHub
parent
fe7d893de2
commit
d8fa75654f
@ -337,7 +337,7 @@ fun signAll(transactionsToSign: List<WireTransaction>, extraKeys: List<KeyPair>)
|
||||
}
|
||||
wtx.mustSign.expandedCompositeKeys.forEach {
|
||||
val key = keyLookup[it] ?: throw IllegalArgumentException("Missing required key for ${it.toStringShort()}")
|
||||
signatures += key.signWithECDSA(wtx.id)
|
||||
signatures += key.sign(wtx.id)
|
||||
}
|
||||
SignedTransaction(bits, signatures)
|
||||
}
|
||||
|
Reference in New Issue
Block a user