mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-25 11:05:10 +00:00
fixed comment consistency problem with erc20 chaincode
Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>
This commit is contained in:
parent
c323c95807
commit
0959261d07
1 changed files with 1 additions and 1 deletions
|
|
@ -702,7 +702,7 @@ func add(b int, q int) (int, error) {
|
||||||
return sum, nil
|
return sum, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
//Checks that contract options have been already initialized
|
// Checks that contract options have been already initialized
|
||||||
func checkInitialized(ctx contractapi.TransactionContextInterface) (bool, error) {
|
func checkInitialized(ctx contractapi.TransactionContextInterface) (bool, error) {
|
||||||
tokenName, err := ctx.GetStub().GetState(nameKey)
|
tokenName, err := ctx.GetStub().GetState(nameKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue