mirror of
https://github.com/RoboSats/taptrade-core.git
synced 2025-07-21 10:13:23 +00:00
add dummy tests for validate_bond_tx_hex()
This commit is contained in:
@ -116,7 +116,6 @@ impl<D: bdk::database::BatchDatabase> CoordinatorWallet<D> {
|
||||
return Err(anyhow!("Bond fee rate too low"));
|
||||
}
|
||||
debug!("validate_bond_tx_hex(): Bond validation successful.");
|
||||
panic!("fix function");
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@ -167,6 +166,21 @@ mod tests {
|
||||
}
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn test_transaction_without_signature() {
|
||||
panic!("Not implemented");
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn test_transaction_with_invalid_signature() {
|
||||
panic!("Not implemented");
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn test_transaction_with_spent_input() {
|
||||
panic!("Not implemented");
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn test_valid_bond_tx() {
|
||||
let test_wallet = new_test_wallet("tprv8ZgxMBicQKsPdHuCSjhQuSZP1h6ZTeiRqREYS5guGPdtL7D1uNLpnJmb2oJep99Esq1NbNZKVJBNnD2ZhuXSK7G5eFmmcx73gsoa65e2U32").await;
|
||||
|
Reference in New Issue
Block a user