aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-06-01 22:09:26 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-06-01 22:09:26 -0500
commit97436399ebe93f96af83081b154a8621df13a17e (patch)
tree235cb4724cfce9560739e9ebe1bcc8eb11dd26ae /src
parentMerge pull request #7715 (diff)
parenttrezor: deprecated ByteSize -> ByteSizeLong (diff)
downloadmonero-97436399ebe93f96af83081b154a8621df13a17e.tar.xz
Merge pull request #7719
da45d3f trezor: deprecated ByteSize -> ByteSizeLong (selsta)
Diffstat (limited to 'src')
-rw-r--r--src/device_trezor/trezor/transport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device_trezor/trezor/transport.cpp b/src/device_trezor/trezor/transport.cpp
index be95868d0..194176413 100644
--- a/src/device_trezor/trezor/transport.cpp
+++ b/src/device_trezor/trezor/transport.cpp
@@ -157,7 +157,7 @@ namespace trezor{
#define PROTO_HEADER_SIZE 6
static size_t message_size(const google::protobuf::Message &req){
- return static_cast<size_t>(req.ByteSize());
+ return req.ByteSizeLong();
}
static size_t serialize_message_buffer_size(size_t msg_size) {