status-desktop/libs/Wallet/src/DerivedWalletAddress.cpp

22 lines
450 B
C++

#include "DerivedWalletAddress.h"
namespace Status::Wallet
{
DerivedWalletAddress::DerivedWalletAddress(WalletGo::DerivedAddress address, QObject* parent)
: QObject{parent}
, m_derivedAddress{std::move(address)}
{ }
QString DerivedWalletAddress::address() const
{
return m_derivedAddress.address.get();
}
bool DerivedWalletAddress::alreadyCreated() const
{
return m_derivedAddress.alreadyCreated;
}
} // namespace Status::Wallet