From 1f68907d36b49c1cfd0d8d668389aa416b27790e Mon Sep 17 00:00:00 2001 From: Rahul Lashkari Date: Fri, 6 Jun 2025 11:38:31 +0530 Subject: [PATCH] docs: fixes and improvements in CHANGELOG.md and pyth_admin.cpp --- CHANGELOG.md | 4 ++-- pcapps/pyth_admin.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 076a0d084..97fad10b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,8 +35,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Break out admin-only request/rpc classes into separate files. - [pyth_admin] Separate out admin commands into new binary. - [pyth] Consolidate CLI argument parsing. -- [pyth] Remove get_pub_key command and update docs/scripts - these should by run using the solana CLI tool. -- [pyth] Remove transfer and get_balance command line commands - these should by run using the solana CLI tool. +- [pyth] Remove get_pub_key command and update docs/scripts - these should be run using the solana CLI tool. +- [pyth] Remove transfer and get_balance command line commands - these should be run using the solana CLI tool. - [pyth] add Host header to RPC requests - [pyth] add account filtering to get_program_accounts - [pyth] add option to disable ws connection to RPC node diff --git a/pcapps/pyth_admin.cpp b/pcapps/pyth_admin.cpp index 30a91140f..154b93c3e 100644 --- a/pcapps/pyth_admin.cpp +++ b/pcapps/pyth_admin.cpp @@ -155,7 +155,7 @@ int on_init_mapping( int argc, char **argv ) if ( args.invalid_ ) return 1; - std::cerr << "this might take take up to 30 seconds..." << std::endl; + std::cerr << "this might take up to 30 seconds..." << std::endl; // initialize connection to block-chain manager mgr; @@ -192,7 +192,7 @@ int on_add_product( int argc, char **argv ) if ( args.invalid_ ) return 1; - std::cerr << "this might take take up to 30 seconds..." << std::endl; + std::cerr << "this might take up to 30 seconds..." << std::endl; // initialize connection to block-chain manager mgr; @@ -375,7 +375,7 @@ int on_add_price( int argc, char **argv ) return 1; } } - std::cerr << "this might take take up to 30 seconds..." << std::endl; + std::cerr << "this might take up to 30 seconds..." << std::endl; // get rent-exemption amount for symbol account get_minimum_balance_rent_exemption req_r[1];