In HLF 1.4 I can get transaction id after successful invoke operation. But In HLF 2.x I am not getting txid. I can see the data which I submitted to hlf in state database (couch db). Then why I am not getting txid. Here is last line in chaincode,
return shim.Success(nil)
submit transaction using node sdk.
result = await contract.submitTransaction(fcn, args);
console.log("Result:", result.toString())
The above line gives empty. Help me to get tx id.