aboutsummaryrefslogtreecommitdiff
path: root/src/bech32.h
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-03-22 15:19:44 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2018-03-22 16:23:04 +0100
commit8fd6af89a0c061d79bb3fd2ba704b61dcc2e9211 (patch)
tree6661f1f86178d3be6571ebe345bdf191f5feef07 /src/bech32.h
parent8af65d96f4166cb57ff567a4c937f81c8e5a8aeb (diff)
Fix missing or inconsistent include guards
Diffstat (limited to 'src/bech32.h')
-rw-r--r--src/bech32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bech32.h b/src/bech32.h
index 7ef7b22213..2e2823e974 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