More explicitly referring to DOT instead of deposit
@@ -14,7 +14,6 @@ contract VendingMachine {
*/
function qualifyDeposit(
uint256 _depositId,
- uint256 tokenID,
bytes4 _txVersion,
bytes memory _txInputVector,
bytes memory _txOutputVector,
@@ -48,8 +47,8 @@ contract VendingMachine {
/**
* Trade in the Deposit Owner Token and mint TBTC.
*/
- function dotToTbtc(uint256 _depositId) public {
- require(isQualified(_depositId), "Deposit must be qualified");
+ function dotToTbtc(uint256 _dotId) public {
+ require(isQualified(_dotId), "Deposit must be qualified");
// TODO
}
}
\ No newline at end of file
