Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit 980c485

Browse files
update for change in devnet rpc end-point
1 parent 6e6fe25 commit 980c485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/get_accounts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ fn get_corp_act( cact: &CorpAction ) -> &'static str
6565

6666
fn main() {
6767
// get pyth mapping account
68-
let url = "http://devnet.solana.com:8899";
68+
let url = "http://api.devnet.solana.com";
6969
let key = "ArppEFcsybCLE8CRtQJLQ9tLv2peGmQoKWFuiUWm4KBP";
7070
let clnt = RpcClient::new( url.to_string() );
7171
let mut akey = Pubkey::from_str( key ).unwrap();

0 commit comments

Comments
 (0)