Address review comments.

This commit is contained in:
Mike Hearn
2016-11-30 15:11:35 +00:00
parent 7b40be8361
commit d500bf8f50
6 changed files with 22 additions and 21 deletions

View File

@ -485,11 +485,12 @@ class TwoPartyTradeFlowTests {
// Issued money to itself.
output("elbonian money 1", notary = notary) { 800.DOLLARS.CASH `issued by` issuer `owned by` MEGA_CORP_PUBKEY }
output("elbonian money 2", notary = notary) { 1000.DOLLARS.CASH `issued by` issuer `owned by` MEGA_CORP_PUBKEY }
if (!withError)
if (!withError) {
command(DUMMY_CASH_ISSUER_KEY.public.composite) { Cash.Commands.Issue() }
else
// Put a broken command on so at least a signature is created
} else {
// Put a broken command on so at least a signature is created
command(DUMMY_CASH_ISSUER_KEY.public.composite) { Cash.Commands.Move() }
}
timestamp(TEST_TX_TIME)
if (withError) {
this.fails()