Skip to content

Commit 8f2f61b

Browse files
committed
fix(rust): secure random address
1 parent 64cc5f0 commit 8f2f61b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/developer-hub-rust/src/bin/secure_random_coston2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sol!(
1212
async fn main() -> Result<()> {
1313
// Relay address where the secure RNG is served (Flare Testnet Coston2)
1414
// See https://dev.flare.network/network/solidity-reference
15-
let random_v2_address = address!("57a4c3676d08Aa5d15410b5A6A80fBcEF72f3F45");
15+
let random_v2_address = address!("97702e350CaEda540935d92aAf213307e9069784");
1616
let rpc_url = "https://coston2-api.flare.network/ext/C/rpc".parse()?;
1717
// Connect to an RPC node
1818
let provider = ProviderBuilder::new().connect_http(rpc_url);

0 commit comments

Comments
 (0)