fix confusion between idl and idl types
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
38d7b03735
commit
679f6492d4
|
@ -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
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue