diff --git a/core/.changelog.d/2453.fixed b/core/.changelog.d/2453.fixed new file mode 100644 index 000000000..b03e81207 --- /dev/null +++ b/core/.changelog.d/2453.fixed @@ -0,0 +1 @@ +Fix XMR primary address display diff --git a/core/src/apps/monero/get_address.py b/core/src/apps/monero/get_address.py index 547371ec5..a2a328bb1 100644 --- a/core/src/apps/monero/get_address.py +++ b/core/src/apps/monero/get_address.py @@ -25,7 +25,11 @@ async def get_address( creds = misc.get_creds(keychain, msg.address_n, msg.network_type) addr = creds.address - have_subaddress = msg.account is not None and msg.minor is not None + have_subaddress = ( + msg.account is not None + and msg.minor is not None + and (msg.account, msg.minor) != (0, 0) + ) have_payment_id = msg.payment_id is not None if (msg.account is None) != (msg.minor is None):