iterate through diffs. don't write anything

This commit is contained in:
CJ Cobb
2021-03-30 11:13:51 -04:00
parent 168283f0aa
commit d1f47b490a
4 changed files with 274 additions and 57 deletions

View File

@@ -46,8 +46,9 @@ struct AccountTransactionsData
}
};
template <class T>
inline bool
isOffer(std::string const& object)
isOffer(T const& object)
{
short offer_bytes = (object[1] << 8) | object[2];
return offer_bytes == 0x006f;