Skip to content

Commit

Permalink
match python exception message casing for now
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Jan 1, 2025
1 parent a28081c commit e65e647
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/chia-datalayer/src/merkle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ pub enum Error {
#[error("blob length must be a multiple of block count, found extra bytes: {0}")]
InvalidBlobLength(usize),

#[error("key already present")]
// TODO: presently capitalized to match the python implementation, fix with more specific exception types
#[error("Key already present")]
KeyAlreadyPresent,

#[error("requested insertion at root but tree not empty")]
Expand Down

0 comments on commit e65e647

Please sign in to comment.