Fix doc link

Fix variable error

Change-Id: I24cae31cc3df080b8906812b81f63b15795dc6e5
Signed-off-by: BigManing <lingshui2008@qq.com>
This commit is contained in:
BigManing 2019-01-24 16:47:03 +08:00
parent 8a458b5cdc
commit a8a55395af
2 changed files with 3 additions and 3 deletions

View file

@ -9,10 +9,10 @@ docs to learn how to make contributions to this exciting project.
## Code of Conduct Guidelines <a name="conduct"></a> ## Code of Conduct Guidelines <a name="conduct"></a>
See our [Code of Conduct Guidelines](../blob/master/CODE_OF_CONDUCT.md). See our [Code of Conduct Guidelines](./CODE_OF_CONDUCT.md).
## Maintainers <a name="maintainers"></a> ## Maintainers <a name="maintainers"></a>
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).
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>. <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.

View file

@ -111,7 +111,7 @@ class CommercialPaperContract extends Contract {
if (paper.isTrading()) { if (paper.isTrading()) {
paper.setOwner(newOwner); paper.setOwner(newOwner);
} else { } 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 // Update the paper