Update database tests to verify set_utxo upserts
This commit is contained in:
parent
4c1749a13a
commit
cea79872d7
@ -323,7 +323,8 @@ pub mod test {
|
||||
};
|
||||
|
||||
tree.set_utxo(&utxo).unwrap();
|
||||
|
||||
tree.set_utxo(&utxo).unwrap();
|
||||
assert_eq!(tree.iter_utxos().unwrap().len(), 1);
|
||||
assert_eq!(tree.get_utxo(&outpoint).unwrap(), Some(utxo));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user