Skip to content

Commit

Permalink
Update example usage in docs for _initializeDeposit
Browse files Browse the repository at this point in the history
_initializeDeposit now returns additional property:
initialDepositAmount.
We need to update the usage example.
  • Loading branch information
nkuba committed Feb 28, 2024
1 parent ec3e81e commit a3a7cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solidity/contracts/integrator/AbstractTBTCDepositor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import "./ITBTCVault.sol";
/// // Embed necessary context as extra data.
/// bytes32 extraData = ...;
///
/// uint256 depositKey = _initializeDeposit(
/// (uint256 depositKey, uint256 initialDepositAmount) = _initializeDeposit(
/// fundingTx,
/// reveal,
/// extraData
Expand Down

0 comments on commit a3a7cf6

Please sign in to comment.