Update database tests to verify set_utxo upserts

This commit is contained in:
Steve Myers committed 2022-05-19 13:20:09 -07:00
1 parent 4c1749a13a
commit cea79872d7
1 file changed
+2 -1
+2 -1
View File
@@ -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));
}