mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-05 09:46:53 +00:00
19 lines
378 B
C++
19 lines
378 B
C++
#include <xrpl/protocol/AccountID.h>
|
|
#include <xrpl/protocol/HashPrefix.h>
|
|
#include <xrpl/protocol/STVector256.h>
|
|
#include <xrpl/protocol/Serializer.h>
|
|
|
|
namespace ripple {
|
|
|
|
inline void
|
|
addSerializeSponsorData(
|
|
Serializer& msg,
|
|
AccountID const& sponsorID,
|
|
std::uint32_t const& flags)
|
|
{
|
|
msg.addBitString(sponsorID);
|
|
msg.add32(flags);
|
|
}
|
|
|
|
} // namespace ripple
|