1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 06:48:16 +00:00

protobuf: update trezor-common and messages

This commit is contained in:
matejcik 2018-05-07 14:14:16 +02:00
parent 28264a4fe0
commit dd0217c746
6 changed files with 7 additions and 7 deletions

View File

@ -6,6 +6,6 @@ class StellarCreateAccountOp(p.MessageType):
FIELDS = {
1: ('source_account', p.BytesType, 0),
2: ('new_account', p.BytesType, 0),
3: ('starting_balance', p.Sint64Type, 0),
3: ('starting_balance', p.SVarintType, 0),
}
MESSAGE_WIRE_TYPE = 210

View File

@ -8,7 +8,7 @@ class StellarCreatePassiveOfferOp(p.MessageType):
1: ('source_account', p.BytesType, 0),
2: ('selling_asset', StellarAssetType, 0),
3: ('buying_asset', StellarAssetType, 0),
4: ('amount', p.Sint64Type, 0),
4: ('amount', p.SVarintType, 0),
5: ('price_n', p.UVarintType, 0),
6: ('price_d', p.UVarintType, 0),
}

View File

@ -8,7 +8,7 @@ class StellarManageOfferOp(p.MessageType):
1: ('source_account', p.BytesType, 0),
2: ('selling_asset', StellarAssetType, 0),
3: ('buying_asset', StellarAssetType, 0),
4: ('amount', p.Sint64Type, 0),
4: ('amount', p.SVarintType, 0),
5: ('price_n', p.UVarintType, 0),
6: ('price_d', p.UVarintType, 0),
7: ('offer_id', p.UVarintType, 0),

View File

@ -7,10 +7,10 @@ class StellarPathPaymentOp(p.MessageType):
FIELDS = {
1: ('source_account', p.BytesType, 0),
2: ('send_asset', StellarAssetType, 0),
3: ('send_max', p.Sint64Type, 0),
3: ('send_max', p.SVarintType, 0),
4: ('destination_account', p.BytesType, 0),
5: ('destination_asset', StellarAssetType, 0),
6: ('destination_amount', p.Sint64Type, 0),
6: ('destination_amount', p.SVarintType, 0),
7: ('paths', StellarAssetType, p.FLAG_REPEATED),
}
MESSAGE_WIRE_TYPE = 212

View File

@ -8,6 +8,6 @@ class StellarPaymentOp(p.MessageType):
1: ('source_account', p.BytesType, 0),
2: ('destination_account', p.BytesType, 0),
3: ('asset', StellarAssetType, 0),
4: ('amount', p.Sint64Type, 0),
4: ('amount', p.SVarintType, 0),
}
MESSAGE_WIRE_TYPE = 211

@ -1 +1 @@
Subproject commit 9abe3a7c69000cc7ee3cda2ec940193fa9d62e6c
Subproject commit 44dfb07cfaafffada4b2ce0d15ba1d90d17cf35e