mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use buffer in STBlob
This commit is contained in:
@@ -37,12 +37,12 @@ std::string STAccount::getText () const
|
||||
STAccount*
|
||||
STAccount::construct (SerialIter& u, SField::ref name)
|
||||
{
|
||||
return new STAccount (name, u.getVL ());
|
||||
return new STAccount (name, u.getVLBuffer ());
|
||||
}
|
||||
|
||||
STAccount::STAccount (SField::ref n, Account const& v) : STBlob (n)
|
||||
STAccount::STAccount (SField::ref n, Account const& v)
|
||||
: STBlob (n, v.data (), v.size ())
|
||||
{
|
||||
peekValue ().insert (peekValue ().end (), v.begin (), v.end ());
|
||||
}
|
||||
|
||||
bool STAccount::isValueH160 () const
|
||||
|
||||
Reference in New Issue
Block a user