We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fa911f commit c5b97bbCopy full SHA for c5b97bb
README.md
@@ -44,8 +44,9 @@ let mut client = Client::connect(DEFAULT_WS_URL)
44
.await
45
.expect("cannot connect");
46
47
-let req = AccountInfoRequest::new("r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59").strict(true);
+let account = env::var("XRPL_ACCOUNT_ADDRESS").expect("account not defined");
48
49
+let req = AccountInfoRequest::new(&account).strict(true);
50
client.call(req).await.expect("cannot send request");
51
52
if let Some(msg) = client.messages.next().await {
0 commit comments