remove duplicate _toProofId function

This commit is contained in:
Eric Mastro 2022-10-25 13:13:31 +11:00
parent 51a02c09ba
commit 2ac6c0b2de
No known key found for this signature in database
GPG Key ID: 141E3048D95A4E63

View File

@ -370,10 +370,6 @@ contract Marketplace is Collateral, Proofs {
return RequestId.unwrap(a) != bytes32(b); return RequestId.unwrap(a) != bytes32(b);
} }
function _toProofId(SlotId slotId) internal pure returns (ProofId) {
return ProofId.wrap(SlotId.unwrap(slotId));
}
struct Request { struct Request {
address client; address client;
Ask ask; Ask ask;