diff --git a/contracts/src/main/kotlin/contracts/CommercialPaper.kt b/contracts/src/main/kotlin/contracts/CommercialPaper.kt index 225fb197a5..bfc8e5abfe 100644 --- a/contracts/src/main/kotlin/contracts/CommercialPaper.kt +++ b/contracts/src/main/kotlin/contracts/CommercialPaper.kt @@ -83,7 +83,7 @@ class CommercialPaper : Contract { // Here, we match acceptable timestamp authorities by name. The list of acceptable TSAs (oracles) must be // hard coded into the contract because otherwise we could fail to gain consensus, if nodes disagree about // who or what is a trusted authority. - val timestamp: TimestampCommand? = tx.commands.getTimestampByName("Mock Company 0", "Bank of Zurich") + val timestamp: TimestampCommand? = tx.commands.getTimestampByName("Mock Company 0", "Bank A") for (group in groups) { when (command.value) { diff --git a/scripts/trader-demo.sh b/scripts/trader-demo.sh index d674564ac7..d606c71547 100755 --- a/scripts/trader-demo.sh +++ b/scripts/trader-demo.sh @@ -12,14 +12,14 @@ fi if [[ "$mode" == "buyer" ]]; then if [ ! -d buyer ]; then mkdir buyer - echo "myLegalName = Bank of Zurich" >buyer/config + echo "myLegalName = Bank A" >buyer/config fi build/install/r3prototyping/bin/r3prototyping --dir=buyer --service-fake-trades --network-address=localhost elif [[ "$mode" == "seller" ]]; then if [ ! -d seller ]; then mkdir seller - echo "myLegalName = Bank of London" >seller/config + echo "myLegalName = Bank B" >seller/config fi build/install/r3prototyping/bin/r3prototyping --dir=seller --fake-trade-with=localhost --network-address=localhost:31340 --timestamper-identity-file=buyer/identity-public --timestamper-address=localhost