From b27ac486e4e888eb7452a1a1838fe5ff42bf3794 Mon Sep 17 00:00:00 2001 From: Eirik Ogilvie-Wigley Date: Tue, 6 Nov 2018 23:47:33 -0700 Subject: [PATCH] Prevent header from being included multiple times --- src/utiltest.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/utiltest.h b/src/utiltest.h index 86628f1d8..d14dca260 100644 --- a/src/utiltest.h +++ b/src/utiltest.h @@ -2,6 +2,9 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. +#ifndef ZCASH_UTIL_TEST_H +#define ZCASH_UTIL_TEST_H + #include "wallet/wallet.h" #include "zcash/JoinSplit.hpp" #include "zcash/Note.hpp" @@ -42,3 +45,5 @@ TestSaplingNote GetTestSaplingNote(const libzcash::SaplingPaymentAddress& pa, CA CWalletTx GetValidSaplingTx(const Consensus::Params& consensusParams, const libzcash::SaplingExtendedSpendingKey &sk, CAmount value); + +#endif // ZCASH_UTIL_TEST_H