diff --git a/contracts/erc20-bridge-sampler/contracts/src/ERC20BridgeSampler.sol b/contracts/erc20-bridge-sampler/contracts/src/ERC20BridgeSampler.sol index 6eb1d318d5..6bf17a7292 100644 --- a/contracts/erc20-bridge-sampler/contracts/src/ERC20BridgeSampler.sol +++ b/contracts/erc20-bridge-sampler/contracts/src/ERC20BridgeSampler.sol @@ -562,8 +562,8 @@ contract ERC20BridgeSampler is makerToken ); (bool didSucceed, bytes memory returnData) = registryAddress.staticcall(callData); - if (didSucceed) { - return LibBytes.readAddress(returnData, 0); + if (didSucceed && returnData.length == 32) { + return LibBytes.readAddress(returnData, 12); } }