mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Get STAccount value as NewcoinAddress.
This commit is contained in:
@@ -203,6 +203,20 @@ bool STAccount::getValueH160(uint160& v) const
|
||||
return true;
|
||||
}
|
||||
|
||||
NewcoinAddress STAccount::getValueNCA() const
|
||||
{
|
||||
NewcoinAddress a;
|
||||
uint160 v;
|
||||
if (getValueH160(v))
|
||||
a.setAccountID(v);
|
||||
return a;
|
||||
}
|
||||
|
||||
void STAccount::setValueNCA(const NewcoinAddress& nca)
|
||||
{
|
||||
setValueH160(nca.getAccountID());
|
||||
}
|
||||
|
||||
std::string STTaggedList::getText() const
|
||||
{
|
||||
std::string ret;
|
||||
|
||||
Reference in New Issue
Block a user