We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02f7f95 commit 04716faCopy full SHA for 04716fa
1 file changed
src/ffi/ffiocean.cpp
@@ -3,12 +3,13 @@
3
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
4
5
#include <ain_rs_exports.h>
6
+#include <ffi/ffiexports.h>
7
#include <dfi/customtx.h>
8
#include <uint256.h>
9
#include <util/system.h>
10
11
Res OceanSetTxResult(const std::optional<std::pair<CustomTxType, uint256>> &txInfo, const std::size_t result_ptr) {
- bool isOceanEnabled = gArgs.GetBoolArg("-oceanarchive", false);
12
+ bool isOceanEnabled = gArgs.GetBoolArg("-oceanarchive", DEFAULT_OCEAN_INDEXER_ENABLED);
13
if (txInfo && isOceanEnabled) {
14
const auto &[txType, txHash] = *txInfo;
15
CrossBoundaryResult ffiResult;
0 commit comments