add comment

This commit is contained in:
f321x
2024-07-02 17:39:14 +00:00
parent 78efc82f6a
commit 7afd25b445
2 changed files with 3 additions and 1 deletions

View File

@ -85,6 +85,7 @@ impl CoordinatorWallet {
} }
// check if bond output to us is big enough // check if bond output to us is big enough
// trait bond_output_sum
// let valid = tx.verify_tx(); // let valid = tx.verify_tx();
Ok(true) Ok(true)

View File

@ -35,7 +35,8 @@ impl BondTx for Transaction {
} }
fn bond_output_sum(&self, bond_address: &str) -> Result<u64> { fn bond_output_sum(&self, bond_address: &str) -> Result<u64> {
let bond_script = ScriptBuf; panic!("implement");
// let bond_script = ScriptBuf;
for output in self.output.iter() {} for output in self.output.iter() {}
Ok(0) Ok(0)