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:
Andrius Dagys
2016-07-07 13:22:30 +01:00
parent 9e174d3e3a
commit b498928f75
3 changed files with 1 additions and 18 deletions

View File

@ -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.