Skip to content

Commit

Permalink
fix(explorer): Revert localnet.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Dec 20, 2024
1 parent baebe6b commit dfba076
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/explorer/tests/utils/localnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { IotaClient, getFullnodeUrl } from '@iota/iota-sdk/client';
import { type Keypair } from '@iota/iota-sdk/cryptography';
import { Ed25519Keypair } from '@iota/iota-sdk/keypairs/ed25519';
import { Transaction } from '@iota/iota-sdk/transactions';
import { COIN_TYPE } from '@iota/core';

const addressToKeypair = new Map<string, Keypair>();

Expand All @@ -25,7 +24,7 @@ export async function split_coin(address: string) {
const tx = new Transaction();
tx.moveCall({
target: '0x2::pay::split',
typeArguments: [COIN_TYPE],
typeArguments: ['0x2::iota::IOTA'],
arguments: [tx.object(coin_id), tx.pure.u64(10)],
});

Expand Down

0 comments on commit dfba076

Please sign in to comment.