fix: support new 'feature-set' field in getVersion RPC method
This commit is contained in:
@ -350,8 +350,9 @@ const SignatureStatusResult = struct({err: TransactionErrorResult});
|
||||
* @typedef {Object} Version
|
||||
* @property {string} solana-core Version of solana-core
|
||||
*/
|
||||
const Version = struct({
|
||||
const Version = struct.pick({
|
||||
'solana-core': 'string',
|
||||
'feature-set': 'number?',
|
||||
});
|
||||
|
||||
type SimulatedTransactionResponse = {
|
||||
|
Reference in New Issue
Block a user