lfs files are testnet (#51)
This commit is contained in:
parent
115d6ab22c
commit
4c8ad5d952
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -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
|
||||
|
@ -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.")
|
||||
|
Loading…
Reference in New Issue
Block a user