Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use drive::dpp::identity::TimestampMillis;

use dpp::block::block_info::BlockInfo;
use dpp::prelude::CoreBlockHeight;
use dpp::system_data_contracts::load_system_data_contract;
use dpp::version::PlatformVersion;
use drive::dpp::system_data_contracts::SystemDataContract;
use drive::query::TransactionArg;
Expand Down Expand Up @@ -56,7 +57,6 @@ impl<C> Platform<C> {
system_data_contracts.load_keyword_search(),
),
]);
//todo add Wallet Utils (maybe)

for data_contract in system_data_contract_types.values() {
self.register_system_data_contract_operations(
Expand All @@ -66,6 +66,15 @@ impl<C> Platform<C> {
)?;
}

let wallet_utils_contract =
load_system_data_contract(SystemDataContract::WalletUtils, platform_version)?;

self.register_system_data_contract_operations(
&wallet_utils_contract,
&mut operations,
platform_version,
)?;

let dpns_contract = system_data_contracts.load_dpns();

self.register_dpns_top_level_domain_operations(
Expand Down
Loading