Skip to content

Commit 6fb0434

Browse files
committed
Types
1 parent c703192 commit 6fb0434

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/anchor/coder/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { Idl, TypesCoder } from '@coral-xyz/anchor'
22

33
export class PythOracleTypesCoder implements TypesCoder {
44
encode<T = any>(_name: string, _type: T): Buffer {
5-
throw new Error('Pyth oracle does not have user-defined types')
5+
throw new Error('Not implemented')
66
}
77
decode<T = any>(_name: string, _typeData: Buffer): T {
8-
throw new Error('Pyth oracle does not have user-defined types')
8+
throw new Error('Not implemented')
99
}
1010
}

0 commit comments

Comments
 (0)