From a8a55395af720cfdddacdd7d4d5e600187c25623 Mon Sep 17 00:00:00 2001 From: BigManing Date: Thu, 24 Jan 2019 16:47:03 +0800 Subject: [PATCH] Fix doc link Fix variable error Change-Id: I24cae31cc3df080b8906812b81f63b15795dc6e5 Signed-off-by: BigManing --- CONTRIBUTING.md | 4 ++-- .../organization/digibank/contract/lib/papercontract.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6432cb6243..6ac0fc4d93 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,10 +9,10 @@ docs to learn how to make contributions to this exciting project. ## Code of Conduct Guidelines -See our [Code of Conduct Guidelines](../blob/master/CODE_OF_CONDUCT.md). +See our [Code of Conduct Guidelines](./CODE_OF_CONDUCT.md). ## Maintainers -Should you have any questions or concerns, please reach out to one of the project's [Maintainers](../blob/master/MAINTAINERS.md). +Should you have any questions or concerns, please reach out to one of the project's [Maintainers](./MAINTAINERS.md). Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License. diff --git a/commercial-paper/organization/digibank/contract/lib/papercontract.js b/commercial-paper/organization/digibank/contract/lib/papercontract.js index c0b132bf79..34f64a6202 100644 --- a/commercial-paper/organization/digibank/contract/lib/papercontract.js +++ b/commercial-paper/organization/digibank/contract/lib/papercontract.js @@ -111,7 +111,7 @@ class CommercialPaperContract extends Contract { if (paper.isTrading()) { paper.setOwner(newOwner); } else { - throw new Error('Paper ' + issuer + paperNumber + ' is not trading. Current state = ' + cp.getCurrentState()); + throw new Error('Paper ' + issuer + paperNumber + ' is not trading. Current state = ' + paper.getCurrentState()); } // Update the paper