mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
Fix doc link
Fix variable error Change-Id: I24cae31cc3df080b8906812b81f63b15795dc6e5 Signed-off-by: BigManing <lingshui2008@qq.com>
This commit is contained in:
parent
8a458b5cdc
commit
a8a55395af
2 changed files with 3 additions and 3 deletions
|
|
@ -9,10 +9,10 @@ docs to learn how to make contributions to this exciting project.
|
|||
|
||||
## 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>
|
||||
|
||||
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>.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue