0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd:Ⓜ️ Remove this derp.

This commit is contained in:
Jason Volk 2018-01-23 15:02:22 -08:00
parent 56191db9bc
commit dd47d71905

View file

@ -29,16 +29,7 @@ ircd::m::id::event
ircd::m::event_id(const event &event,
id::event::buf &buf)
{
const json::strung preimage
{
event
};
const fixed_buffer<const_raw_buffer, sha256::digest_size> hash
{
sha256{const_buffer{preimage}}
};
const crh::sha256::buf hash{event};
return event_id(event, buf, hash);
}