diff --git a/sdk/node/src/hfc.ts b/sdk/node/src/hfc.ts index e2e33665959..66c85d81ef2 100644 --- a/sdk/node/src/hfc.ts +++ b/sdk/node/src/hfc.ts @@ -1757,10 +1757,10 @@ export class TransactionContext extends events.EventEmitter { tx.setPayload(chaincodeDeploymentSpec.toBuffer()); // - // Set the transaction UUID + // Set the transaction ID // - tx.setTxid(sdk_util.GenerateUUID()); + tx.setTxid(hash); // // Set the transaction timestamp