Skip to content

Commit c5b97bb

Browse files
committed
Minor
1 parent 6fa911f commit c5b97bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ let mut client = Client::connect(DEFAULT_WS_URL)
4444
.await
4545
.expect("cannot connect");
4646

47-
let req = AccountInfoRequest::new("r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59").strict(true);
47+
let account = env::var("XRPL_ACCOUNT_ADDRESS").expect("account not defined");
4848

49+
let req = AccountInfoRequest::new(&account).strict(true);
4950
client.call(req).await.expect("cannot send request");
5051

5152
if let Some(msg) = client.messages.next().await {

0 commit comments

Comments
 (0)