fix(providers): doc test for dev_rpc (#857)

This commit is contained in:
wolflo 2022-02-02 10:20:01 -07:00 committed by GitHub
parent d56e34c512
commit 885aa9c967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1133,7 +1133,7 @@ impl TryFrom<String> for Provider<HttpProvider> {
/// use ethers_core::utils::Ganache;
/// use std::convert::TryFrom;
///
/// # #[tokio::main]
/// # #[tokio::main(flavor = "current_thread")]
/// # async fn main() -> Result<(), Box<dyn std::error::Error>> {
/// let ganache = Ganache::new().spawn();
/// let provider = Provider::<Http>::try_from(ganache.endpoint()).unwrap();