```\nfunction _commitCollateral(\n    uint256 _bidId,\n    Collateral memory _collateralInfo\n) internal virtual {\n    CollateralInfo storage collateral = _bidCollaterals[_bidId];\n    collateral.collateralAddresses.add(_collateralInfo._collateralAddress);\n    collateral.collateralInfo[\n        _collateralInfo._collateralAddress\n    ] = _collateralInfo; <- @audit-issue collateral info overwritten\n    emit CollateralCommitted(\n        _bidId,\n        _collateralInfo._collateralType,\n        _collateralInfo._collateralAddress,\n        _collateralInfo._amount,\n        _collateralInfo._tokenId\n    );\n}\n```\n