Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
theohax committed Oct 3, 2021
1 parent 908a7ab commit f33d335
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions nano/lib/numbers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ nano::public_key::public_key () :
{
}

const nano::public_key& nano::public_key::null () const
const nano::public_key & nano::public_key::null () const
{
return nano::hardened_constants::get ().not_an_account;
return nano::hardened_constants::get ().not_an_account;
}

std::string nano::public_key::to_node_id () const
Expand Down Expand Up @@ -957,7 +957,7 @@ nano::public_key::operator nano::hash_or_account const & () const

bool nano::public_key::operator== (std::nullptr_t) const
{
return bytes == null().bytes;
return bytes == null ().bytes;
}

bool nano::public_key::operator!= (std::nullptr_t) const
Expand Down
2 changes: 1 addition & 1 deletion nano/lib/numbers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class public_key final : public uint256_union

public_key ();

const public_key& null () const;
const public_key & null () const;

std::string to_node_id () const;
bool decode_node_id (std::string const & source_a);
Expand Down

0 comments on commit f33d335

Please sign in to comment.