Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
In @0x/contracts-exchange: Change isValidOrderSignature back to `…
Browse files Browse the repository at this point in the history
…public` because passing `calldata` to internal functions isn't supported.
  • Loading branch information
dorothy-zbornak committed Apr 19, 2019
1 parent 28ae8bf commit 9d08d67
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions contracts/exchange/contracts/src/MixinSignatureValidator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ contract MixinSignatureValidator is
/// @param signature Proof that the order has been signed by signer.
/// @return True if the signature is valid for the given order and signer.
function isValidOrderSignature(
Order calldata order,
Order memory order,
address signerAddress,
bytes calldata signature
bytes memory signature
)
external
public
view
returns (bool isValid)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ contract ISignatureValidator {
/// @param signature Proof of signing.
/// @return Validity of order signature.
function isValidOrderSignature(
LibOrder.Order calldata order,
LibOrder.Order memory order,
address signerAddress,
bytes calldata signature
bytes memory signature
)
external
public
view
returns (bool isValid);
}

0 comments on commit 9d08d67

Please sign in to comment.