From 5ef34ea7ad528e4bf91655a7be468d6887ff987b Mon Sep 17 00:00:00 2001 From: andy-shi88 Date: Sat, 13 Jul 2019 12:57:43 +0800 Subject: [PATCH] update transaction id to int64 --- documentation.swagger.json | 2 +- model/transaction.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation.swagger.json b/documentation.swagger.json index d2c6a60..aaaf31a 100644 --- a/documentation.swagger.json +++ b/documentation.swagger.json @@ -794,7 +794,7 @@ }, "ID": { "type": "string", - "format": "byte" + "format": "int64" }, "RecipientAccountAddress": { "type": "string" diff --git a/model/transaction.proto b/model/transaction.proto index 19ac2ae..219cec1 100644 --- a/model/transaction.proto +++ b/model/transaction.proto @@ -7,7 +7,7 @@ option go_package = "github.com/zoobc/zoobc-core/common/model"; // Transaction represent the transaction data structure stored in the database message Transaction { uint32 Version = 1; - bytes ID = 2; + int64 ID = 2; int64 BlockID = 3; uint32 Height = 4; uint32 SenderAccountType = 5;