fix confusion between idl and idl types

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-01-10 10:42:15 +01:00
parent 38d7b03735
commit 679f6492d4
3 changed files with 2 additions and 2 deletions

View File

@ -2,6 +2,6 @@
set -e -o pipefail
anchor build
cp ./target/types/voter_stake_registry.ts src/idl.ts
cp ./target/types/voter_stake_registry.ts src/types.ts
yarn clean && yarn build && cp package.json ./dist/ && yarn publish dist

View File

@ -1,6 +1,6 @@
import { Program, Provider } from '@project-serum/anchor';
import { PublicKey } from '@solana/web3.js';
import { VoterStakeRegistry } from './idl';
import { VoterStakeRegistry } from './types';
export const VSR_ID = new PublicKey(
'4Q6WW2ouZ6V3iaNm56MTd5n2tnTm4C5fiH8miFHnAFHo',