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:
parent
939957c02a
commit
085776655c
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue