diff options
| author | practicalswift <[email protected]> | 2018-03-22 15:19:44 +0100 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-03-22 16:23:04 +0100 |
| commit | 8fd6af89a0c061d79bb3fd2ba704b61dcc2e9211 (patch) | |
| tree | 6661f1f86178d3be6571ebe345bdf191f5feef07 /src/bech32.h | |
| parent | Document include guard convention (diff) | |
| download | discoin-8fd6af89a0c061d79bb3fd2ba704b61dcc2e9211.tar.xz discoin-8fd6af89a0c061d79bb3fd2ba704b61dcc2e9211.zip | |
Fix missing or inconsistent include guards
Diffstat (limited to 'src/bech32.h')
| -rw-r--r-- | src/bech32.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bech32.h b/src/bech32.h index 7ef7b2221..2e2823e97 100644 --- a/src/bech32.h +++ b/src/bech32.h @@ -9,6 +9,9 @@ // // For more information, see BIP 173. +#ifndef BITCOIN_BECH32_H +#define BITCOIN_BECH32_H + #include <stdint.h> #include <string> #include <vector> @@ -23,3 +26,5 @@ std::string Encode(const std::string& hrp, const std::vector<uint8_t>& values); std::pair<std::string, std::vector<uint8_t>> Decode(const std::string& str); } // namespace bech32 + +#endif // BITCOIN_BECH32_H |