Skip to content

Commit

Permalink
fix(objectarium): decrement total compression size when forgot object (
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Jun 3, 2024
1 parent 6f6ad29 commit 2aaba9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/axone-objectarium/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ pub mod execute {
BUCKET.update(deps.storage, |mut b| -> Result<_, ContractError> {
b.stat.object_count -= Uint128::one();
b.stat.size -= object.size;
b.stat.compressed_size -= object.compressed_size;
Ok(b)
})?;

Expand Down

0 comments on commit 2aaba9f

Please sign in to comment.