Skip to content

Commit 04716fa

Browse files
committed
Cleanup -oceanarchive default
1 parent 02f7f95 commit 04716fa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ffi/ffiocean.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
44

55
#include <ain_rs_exports.h>
6+
#include <ffi/ffiexports.h>
67
#include <dfi/customtx.h>
78
#include <uint256.h>
89
#include <util/system.h>
910

1011
Res OceanSetTxResult(const std::optional<std::pair<CustomTxType, uint256>> &txInfo, const std::size_t result_ptr) {
11-
bool isOceanEnabled = gArgs.GetBoolArg("-oceanarchive", false);
12+
bool isOceanEnabled = gArgs.GetBoolArg("-oceanarchive", DEFAULT_OCEAN_INDEXER_ENABLED);
1213
if (txInfo && isOceanEnabled) {
1314
const auto &[txType, txHash] = *txInfo;
1415
CrossBoundaryResult ffiResult;

0 commit comments

Comments
 (0)