lfs files are testnet (#51)

This commit is contained in:
woodser 2021-05-07 11:01:58 -04:00 committed by GitHub
parent 115d6ab22c
commit 4c8ad5d952
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

2
.gitattributes vendored
View file

@ -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

View file

@ -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.")