diff --git a/api/api.proto b/api/api.proto index a2c64e0a8..bbaac66ae 100644 --- a/api/api.proto +++ b/api/api.proto @@ -845,7 +845,7 @@ service WalletSolidity { rpc IsSpend (NoteParameters) returns (SpendResult) { } - + rpc TriggerConstantContract (TriggerSmartContract) returns (TransactionExtention) { } @@ -1071,7 +1071,7 @@ message EasyTransferAssetByPrivateMessage { message EasyTransferResponse { Transaction transaction = 1; Return result = 2; - bytes txid = 3; //transaction id = sha256(transaction.rowdata) + bytes txid = 3; //transaction id = sha256(transaction.raw_data) } message AddressPrKeyPairMessage { @@ -1081,7 +1081,7 @@ message AddressPrKeyPairMessage { message TransactionExtention { Transaction transaction = 1; - bytes txid = 2; //transaction id = sha256(transaction.rowdata) + bytes txid = 2; //transaction id = sha256(transaction.raw_data) repeated bytes constant_result = 3; Return result = 4; } @@ -1166,7 +1166,7 @@ message OvkDecryptParameters { message DecryptNotes { message NoteTx { Note note = 1; - bytes txid = 2; //transaction id = sha256(transaction.rowdata) + bytes txid = 2; //transaction id = sha256(transaction.raw_data) int32 index = 3; //the index of note in receive } repeated NoteTx noteTxs = 1; @@ -1175,7 +1175,7 @@ message DecryptNotes { message DecryptNotesMarked { message NoteTx { Note note = 1; - bytes txid = 2; //transaction id = sha256(transaction.rowdata) + bytes txid = 2; //transaction id = sha256(transaction.raw_data) int32 index = 3; //the index of note in receive bool is_spend = 4; } diff --git a/core/Tron.proto b/core/Tron.proto index a2bc17193..db1355863 100644 --- a/core/Tron.proto +++ b/core/Tron.proto @@ -327,7 +327,7 @@ message Transaction { repeated authority auths = 9; // transaction note bytes data = 10; - //only support size = 1, repeated list here for extension + //only support size = 1, repeated list here for extension repeated Contract contract = 11; // scripts not used bytes scripts = 12; @@ -336,7 +336,7 @@ message Transaction { } raw raw_data = 1; - // only support size = 1, repeated list here for muti-sig extension + // only support size = 1, repeated list here for muti-sig extension repeated bytes signature = 2; repeated Result ret = 5; }