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