mirror of
https://github.com/corda/corda.git
synced 2025-06-22 09:08:49 +00:00
Remove the "verify correct notary has signed" check. This is no longed necessary as the required notary key is added to the "signers" list during transaction construction. We have general validation rules that check the correct notary was included in the signers list, and that we have signatures for all "signers".
This commit is contained in:
@ -305,9 +305,7 @@ class TwoPartyTradeProtocolTests {
|
||||
TxRecord.Get(bobsFakeCash[1].id),
|
||||
TxRecord.Get(bobsFakeCash[2].id),
|
||||
// Alice notices that Bob's cash txns depend on a third tx she also doesn't know. She asks, Bob answers.
|
||||
TxRecord.Get(bobsFakeCash[0].id),
|
||||
// Bob wants to verify that the tx has been signed by the correct Notary, which requires looking up an input state
|
||||
TxRecord.Get(bobsFakeCash[1].id)
|
||||
TxRecord.Get(bobsFakeCash[0].id)
|
||||
)
|
||||
|
||||
// Bob has downloaded the attachment.
|
||||
|
Reference in New Issue
Block a user