Update database tests to verify set_utxo upserts

This commit is contained in:
Steve Myers 2022-05-11 18:04:18 -07:00
parent 4c1749a13a
commit cea79872d7
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051

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));
}