Add init function for BP statics

Considering they take 7 seconds to generate, thanks to #68, the ability 
to generate them at the start instead of on first BP is greatly 
appreciated.

Also performs minor cleanups regarding BPs.
This commit is contained in:
Luke Parker
2022-08-02 15:52:27 -04:00
parent 9221dbf048
commit a30568ff57
9 changed files with 68 additions and 24 deletions

View File

@@ -111,7 +111,7 @@ async fn test_send<C: Coin + Clone>(coin: C, fee: C::Fee) {
#[tokio::test]
async fn monero() {
let monero = Monero::new("http://127.0.0.1:18081".to_string());
let monero = Monero::new("http://127.0.0.1:18081".to_string()).await;
let fee = monero.rpc.get_fee().await.unwrap();
test_send(monero, fee).await;
}