mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-11 21:49:26 +00:00
Add note on origin of publish_tx function in tests/coordinator
This commit is contained in:
@@ -11,8 +11,10 @@ use serai_client::{
|
|||||||
},
|
},
|
||||||
Amount, Pair, Transaction,
|
Amount, Pair, Transaction,
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::{*, tests::*};
|
use crate::{*, tests::*};
|
||||||
|
|
||||||
|
// TODO: This is duplicated with serai-client's tests
|
||||||
async fn publish_tx(serai: &Serai, tx: &Transaction) -> [u8; 32] {
|
async fn publish_tx(serai: &Serai, tx: &Transaction) -> [u8; 32] {
|
||||||
let mut latest = serai
|
let mut latest = serai
|
||||||
.block(serai.latest_finalized_block_hash().await.unwrap())
|
.block(serai.latest_finalized_block_hash().await.unwrap())
|
||||||
|
|||||||
Reference in New Issue
Block a user