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:
parent
56191db9bc
commit
dd47d71905
1 changed files with 1 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue