mirror of
https://github.com/corda/corda.git
synced 2025-02-21 09:51:57 +00:00
Minor: Fix typo ('amounnt' to 'amount')
This commit is contained in:
parent
c450c70f9a
commit
366860b2d8
@ -148,7 +148,7 @@ object TwoPartyTradeProtocol {
|
|||||||
serviceHub.verifyTransaction(wtx.toLedgerTransaction(serviceHub.identityService, serviceHub.storageService.attachments))
|
serviceHub.verifyTransaction(wtx.toLedgerTransaction(serviceHub.identityService, serviceHub.storageService.attachments))
|
||||||
|
|
||||||
if (wtx.outputs.sumCashBy(myKeyPair.public) != price)
|
if (wtx.outputs.sumCashBy(myKeyPair.public) != price)
|
||||||
throw IllegalArgumentException("Transaction is not sending us the right amounnt of cash")
|
throw IllegalArgumentException("Transaction is not sending us the right amount of cash")
|
||||||
|
|
||||||
// There are all sorts of funny games a malicious secondary might play here, we should fix them:
|
// There are all sorts of funny games a malicious secondary might play here, we should fix them:
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user