mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 01:06:48 +00:00
20 lines
383 B
C++
20 lines
383 B
C++
#pragma once
|
|
|
|
#include <xrpl/protocol/AccountID.h>
|
|
#include <xrpl/protocol/HashPrefix.h>
|
|
#include <xrpl/protocol/STVector256.h>
|
|
#include <xrpl/protocol/Serializer.h>
|
|
|
|
namespace xrpl {
|
|
|
|
inline void
|
|
addSerializeSponsorData(Serializer& msg, AccountID const& sponsorID, std::uint32_t const& flags)
|
|
{
|
|
msg.addBitString(sponsorID);
|
|
msg.add32(flags);
|
|
}
|
|
|
|
} // namespace xrpl
|
|
|
|
#endif
|