Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/*
* <%= spdxAndLicense // SPDX-License-Identifier: Apache-2.0 %>
*/
import { Shim } from 'fabric-shim';
import { Chaincode } from '.';
Shim.start(new Chaincode());
/*
* <%= spdxAndLicense // SPDX-License-Identifier: Apache-2.0 %>
*/
'use strict';
const { Shim } = require('fabric-shim');
const { Chaincode } = require('..');
Shim.start(new Chaincode());
type = cHdr.getType();
let version: number = cHdr.version;
version = cHdr.getVersion();
let creator: SerializedIdentity = sHdr.creator;
creator = sHdr.getCreator();
let nonce: Buffer = sHdr.nonce;
nonce = sHdr.getNonce();
let input: Buffer = payload.input;
input = payload.getInput();
let map: Map = payload.transientMap;
map = payload.getTransientMap();
}
}
Shim.start(new TestTS());