mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
ensure clean and consistent "namespace" usage
- remove some missplaced ; - ensure end of a namespace is clearly visible - use same formatting when using namespace
This commit is contained in:
parent
343feecf56
commit
e10dcf27b4
9 changed files with 26 additions and 19 deletions
|
|
@ -186,6 +186,7 @@ int CBase58Data::CompareTo(const CBase58Data& b58) const {
|
|||
}
|
||||
|
||||
namespace {
|
||||
|
||||
class CBitcoinAddressVisitor : public boost::static_visitor<bool> {
|
||||
private:
|
||||
CBitcoinAddress *addr;
|
||||
|
|
@ -196,7 +197,8 @@ namespace {
|
|||
bool operator()(const CScriptID &id) const { return addr->Set(id); }
|
||||
bool operator()(const CNoDestination &no) const { return false; }
|
||||
};
|
||||
};
|
||||
|
||||
} // anon namespace
|
||||
|
||||
bool CBitcoinAddress::Set(const CKeyID &id) {
|
||||
SetData(Params().Base58Prefix(CChainParams::PUBKEY_ADDRESS), &id, 20);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue