Rework pool tests to use real chain (was mock chain) (#3342)
* rework pool tests to use real chain (was mock chain) to better reflect reality (tx/block validation rules etc.) * cleanup
This commit is contained in:
+2
-2
@@ -287,9 +287,9 @@ pub trait PoolAdapter: Send + Sync {
|
||||
|
||||
/// Dummy adapter used as a placeholder for real implementations
|
||||
#[allow(dead_code)]
|
||||
pub struct NoopAdapter {}
|
||||
pub struct NoopPoolAdapter {}
|
||||
|
||||
impl PoolAdapter for NoopAdapter {
|
||||
impl PoolAdapter for NoopPoolAdapter {
|
||||
fn tx_accepted(&self, _entry: &PoolEntry) {}
|
||||
fn stem_tx_accepted(&self, _entry: &PoolEntry) -> Result<(), PoolError> {
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user