Skip to content

Commit 32a7665

Browse files
committed
fixup! feat(tron): Add support for VoteWitnessContract - scaffolding
1 parent 45eac17 commit 32a7665

4 files changed

Lines changed: 35 additions & 78 deletions

File tree

common/protob/messages-tron.proto

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ message TronTransferContract {
7373
* Request: Fill in VoteWitnessContract details
7474
* @next TronSignature
7575
*/
76-
// https://github.com/tronprotocol/protocol/blob/4c726956542b8dff5a4bd5c54aa07cd9da257d08/core/contract/witness_contract.proto#L19-L27
76+
// https://developers.tron.network/docs/tron-contracttype#4-votewitnesscontract
7777
message TronVoteWitnessContract {
7878
message TronVote {
7979
required bytes address = 1; // SR address to vote for
@@ -82,7 +82,6 @@ message TronVoteWitnessContract {
8282

8383
required bytes owner_address = 1; // Voter address
8484
repeated TronVote votes = 2; // Votes split among SR addresses
85-
optional bool support = 3; // TRON protocol field, currently unused
8685
}
8786

8887

core/src/trezor/messages.py

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/src/trezorlib/messages.py

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/trezor-client/src/protos/generated/messages_tron.rs

Lines changed: 34 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)