mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-09 08:43:12 +00:00
add test_utxo_sparse_merkle_tree_new
This commit is contained in:
parent
e4752000d4
commit
fef23fb3b5
@ -90,5 +90,11 @@ mod tests {
|
||||
UTXO::create_utxo_from_payload(sample_utxo_payload())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_utxo_sparse_merkle_tree_new() {
|
||||
let smt = UTXOSparseMerkleTree::new();
|
||||
assert!(smt.curr_root.is_none());
|
||||
assert_eq!(smt.store.len(), 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user