Skip to content

Commit

Permalink
fix: activity handler
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed Nov 26, 2024
1 parent e2d8cb1 commit e6dff54
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import icon from './icons/bitrock.svg';
import { CoingeckoPlatform, NetworkNames } from '@enkryptcom/types';
import { EvmNetwork, EvmNetworkOptions } from '../types/evm-network';
import wrapActivityHandler from '@/libs/activity-state/wrap-activity-handler';

const bitrockOptions: EvmNetworkOptions = {
name: NetworkNames.Bitrock,
Expand All @@ -16,7 +17,7 @@ const bitrockOptions: EvmNetworkOptions = {
icon,
coingeckoID: 'bitrock',
coingeckoPlatform: CoingeckoPlatform.Bitrock,
activityHandler: () => Promise.resolve([]),
activityHandler: wrapActivityHandler(() => Promise.resolve([])),
};

const bitrock = new EvmNetwork(bitrockOptions);
Expand Down

0 comments on commit e6dff54

Please sign in to comment.