]> Untitled Git - bdk/commit
chore(chain)!: use `debug_assert!` on `apply_update`
authorLeonardo Lima <oleonardolima@users.noreply.github.com>
Tue, 19 Nov 2024 16:27:20 +0000 (13:27 -0300)
committerLeonardo Lima <oleonardolima@users.noreply.github.com>
Tue, 19 Nov 2024 16:27:20 +0000 (13:27 -0300)
commit2ec5aa488e9317d027d9625c1a4222e8c384b38e
tree485034abb7ab1c7a46e14440c6757726d102745d
parent3bc45b5431014af3a8255a201e49227584e953b5
chore(chain)!: use `debug_assert!` on `apply_update`

As mentioned in issue #1689 the `debug_assert!` is being used on other
`LocalChain` methods, such as: `from_changeset`, and `apply_changeset`
but it was missing on `apply_update`.
crates/chain/src/local_chain.rs