chore: update changelog

fix: Minor improvement to record update to use empty list instead of the null list from a record fields list.
This commit is contained in:
microproofs
2023-06-01 12:22:42 -04:00
parent fb5f81d634
commit 6955f79035
3 changed files with 18 additions and 8 deletions

View File

@@ -2783,7 +2783,7 @@ fn record_update_output_first_last_val() {
}
let next_output =
Output { ..prev_output, address: Address{thing: "script_hash_0"}, script_ref: None }
Output { ..prev_output, script_ref: None, address: Address{thing: "script_hash_0"} }
prev_output == next_output
}
@@ -2821,9 +2821,7 @@ fn record_update_output_first_last_val() {
),
)
.lambda("tail_index_4")
.apply(
Term::tail_list().apply(Term::tail_list().apply(Term::var("tail_index_2"))),
)
.apply(Term::empty_list())
.lambda("tail_index_2")
.apply(Term::tail_list().apply(Term::var("tail_index_1")))
.lambda("tail_index_1")