diff --git a/trezorlib/messages/StellarCreateAccountOp.py b/trezorlib/messages/StellarCreateAccountOp.py index e1fee62db..4c5d22a43 100644 --- a/trezorlib/messages/StellarCreateAccountOp.py +++ b/trezorlib/messages/StellarCreateAccountOp.py @@ -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 diff --git a/trezorlib/messages/StellarCreatePassiveOfferOp.py b/trezorlib/messages/StellarCreatePassiveOfferOp.py index b84ab0662..e18210e8b 100644 --- a/trezorlib/messages/StellarCreatePassiveOfferOp.py +++ b/trezorlib/messages/StellarCreatePassiveOfferOp.py @@ -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), } diff --git a/trezorlib/messages/StellarManageOfferOp.py b/trezorlib/messages/StellarManageOfferOp.py index 8a77ad441..70564f151 100644 --- a/trezorlib/messages/StellarManageOfferOp.py +++ b/trezorlib/messages/StellarManageOfferOp.py @@ -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), diff --git a/trezorlib/messages/StellarPathPaymentOp.py b/trezorlib/messages/StellarPathPaymentOp.py index 906bf3499..491d5b723 100644 --- a/trezorlib/messages/StellarPathPaymentOp.py +++ b/trezorlib/messages/StellarPathPaymentOp.py @@ -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 diff --git a/trezorlib/messages/StellarPaymentOp.py b/trezorlib/messages/StellarPaymentOp.py index ca15f51a9..23d5be5bc 100644 --- a/trezorlib/messages/StellarPaymentOp.py +++ b/trezorlib/messages/StellarPaymentOp.py @@ -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 diff --git a/vendor/trezor-common b/vendor/trezor-common index 9abe3a7c6..44dfb07cf 160000 --- a/vendor/trezor-common +++ b/vendor/trezor-common @@ -1 +1 @@ -Subproject commit 9abe3a7c69000cc7ee3cda2ec940193fa9d62e6c +Subproject commit 44dfb07cfaafffada4b2ce0d15ba1d90d17cf35e