0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-26 18:38:52 +02:00

ircd: These const_buffer casts are no longer necessary.

This commit is contained in:
Jason Volk 2018-02-11 12:10:22 -08:00
parent 939957c02a
commit 085776655c
2 changed files with 2 additions and 2 deletions

View file

@ -130,7 +130,7 @@ ircd::m::keys::init::signing()
self::public_key_b64 = b64encode_unpadded(self::public_key);
const fixed_buffer<const_buffer, sha256::digest_size> hash
{
sha256{const_buffer{self::public_key}}
sha256{self::public_key}
};
const auto public_key_hash_b58

View file

@ -589,7 +589,7 @@ ircd::m::state::set_node(db::txn &iov,
{
const sha256::buf hash
{
sha256{const_buffer{node}}
sha256{node}
};
const auto hashb64