From 4c8ad5d952efa272bf8f205634a7bfdb42703277 Mon Sep 17 00:00:00 2001 From: woodser Date: Fri, 7 May 2021 11:01:58 -0400 Subject: [PATCH] lfs files are testnet (#51) --- .gitattributes | 2 +- build.gradle | 2 +- ...aceholder => AccountAgeWitnessStore_XMR_TESTNET_placeholder} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename p2p/src/main/resources/{AccountAgeWitnessStore_XMR_MAINNET_placeholder => AccountAgeWitnessStore_XMR_TESTNET_placeholder} (100%) diff --git a/.gitattributes b/.gitattributes index 54522ef5ec..a47754d06b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -12,4 +12,4 @@ *.jpg binary *.jpeg binary *.png binary -p2p/src/main/resources/*XMR_MAINNET filter=lfs diff=lfs merge=lfs -text +p2p/src/main/resources/*XMR_TESTNET filter=lfs diff=lfs merge=lfs -text diff --git a/build.gradle b/build.gradle index 049bc350aa..3ca4709805 100644 --- a/build.gradle +++ b/build.gradle @@ -297,7 +297,7 @@ configure(project(':p2p')) { // If they have not, e.g. because Git LFS is not installed, they will be text files // containing a sha256 hash of the remote object, indicating we should stop the // build and inform the user how to fix the problem. - if (file('src/main/resources/AccountAgeWitnessStore_XMR_MAINNET_placeholder').text.contains("oid sha256:")) + if (file('src/main/resources/AccountAgeWitnessStore_XMR_TESTNET_placeholder').text.contains("oid sha256:")) throw new GradleException("p2p data store files have not been synchronized. " + "To fix this, ensure you have Git LFS installed and run `git lfs pull`. " + "See docs/build.md for more information.") diff --git a/p2p/src/main/resources/AccountAgeWitnessStore_XMR_MAINNET_placeholder b/p2p/src/main/resources/AccountAgeWitnessStore_XMR_TESTNET_placeholder similarity index 100% rename from p2p/src/main/resources/AccountAgeWitnessStore_XMR_MAINNET_placeholder rename to p2p/src/main/resources/AccountAgeWitnessStore_XMR_TESTNET_placeholder