Update order of functions in TestDeposit
@@ -112,6 +112,11 @@ contract TestDeposit is Deposit {
return (self.utxoSizeBytes, self.fundedAt, self.utxoOutpoint);
}
+ function setDigestApprovedAtTime(bytes32 _digest, uint256 _timestamp) public {
+ self.approvedDigests[abi.encodePacked(_digest)] = _timestamp;
+ }
+
+ // passthrough for direct testing
function approveDigest(bytes32 _digest) public {
return self.approveDigest(_digest);
}
@@ -120,11 +125,6 @@ contract TestDeposit is Deposit {
return self.wasDigestApprovedForSigning(_digest);
}
- function setDigestApprovedAtTime(bytes32 _digest, uint256 _timestamp) public {
- self.approvedDigests[abi.encodePacked(_digest)] = _timestamp;
- }
-
- // passthrough for direct testing
function redemptionTransactionChecks(bytes memory _bitcoinTx) public view returns (bytes32, uint256) {
return self.redemptionTransactionChecks(_bitcoinTx);
}
