Switching to view public key lookup in db

This commit is contained in:
Lee Clagett
2020-08-20 23:08:51 -04:00
parent 535fd2bd97
commit e99374170f
4 changed files with 12 additions and 6 deletions

View File

@@ -104,8 +104,8 @@ namespace db
//! The public keys of a monero address
struct account_address
{
crypto::public_key spend_public; //!< Must be first for LMDB optimizations.
crypto::public_key view_public;
crypto::public_key view_public; //!< Must be first for LMDB optimizations.
crypto::public_key spend_public;
};
static_assert(sizeof(account_address) == 64, "padding in account_address");
WIRE_DECLARE_OBJECT(account_address);