Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
fix the transfer exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaohong committed Apr 24, 2018
1 parent 6cb5e8c commit 6eba349
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,28 @@ message AccountId {

// Account
message Account {
// vote message
message Vote {
// the super rep address
bytes vote_address = 1;
// the vote num to this super rep.
int64 vote_count = 2;
}

bytes account_name = 1;
AccountType type = 2;
// the create adress
bytes address = 3;
// the trx balance
int64 balance = 4;
// the votes
repeated Vote votes = 5;
// the other asset owned by this account
map<string, int64> asset = 6;
// this account create time
int64 create_time = 9;
// this last opration time, including transfer, voting and so on.
int64 latest_opration_time = 10;
// not used so far
bytes code = 13;
}

Expand All @@ -46,12 +54,6 @@ message acuthrity {
bytes permission_name = 2;
}


message permision {
AccountId account = 1;

}

// Witness
message Witness {
bytes address = 1;
Expand Down Expand Up @@ -88,6 +90,7 @@ message TXOutputs {


message Transaction {
// transcation type, utxo is desprated.
enum TransactionType {
UtxoType = 0;
ContractType = 1;
Expand Down

0 comments on commit 6eba349

Please sign in to comment.