Commit Graph

2 Commits

Author SHA1 Message Date
Oliver Gugger
a35031ca2e
healthcheck: fix missing import 2021-07-28 11:01:27 +02:00
Oliver Gugger
537880e634
healthcheck: exclude unsupported syscalls from JS builds
Because the health check uses OS specific syscalls for determining the
available space on a disk that aren't available in JS/WASM builds, we
need to make sure we don't reference that code at all. Otherwise we
can't use parts of lnd as a library in projects that are being compiled
down to a WASM binary.
2021-07-22 09:47:37 +02:00