From 9c5a834ec2fba2f9a9bf5fe69ace972f791e9c6c Mon Sep 17 00:00:00 2001 From: pgebal Date: Fri, 18 Oct 2019 08:24:54 +0200 Subject: [PATCH] fix: fix return types of get exit id functions (#371) --- .../contracts/src/exits/payment/PaymentExitGame.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plasma_framework/contracts/src/exits/payment/PaymentExitGame.sol b/plasma_framework/contracts/src/exits/payment/PaymentExitGame.sol index 32066a1b2..bde79eeeb 100644 --- a/plasma_framework/contracts/src/exits/payment/PaymentExitGame.sol +++ b/plasma_framework/contracts/src/exits/payment/PaymentExitGame.sol @@ -69,7 +69,7 @@ contract PaymentExitGame is IExitProcessor, OnlyFromAddress, PaymentStandardExit function getStandardExitId(bool _isDeposit, bytes memory _txBytes, uint256 _utxoPos) public pure - returns (uint192) + returns (uint160) { UtxoPosLib.UtxoPos memory utxoPos = UtxoPosLib.UtxoPos(_utxoPos); return ExitId.getStandardExitId(_isDeposit, _txBytes, utxoPos); @@ -81,7 +81,7 @@ contract PaymentExitGame is IExitProcessor, OnlyFromAddress, PaymentStandardExit function getInFlightExitId(bytes memory _txBytes) public pure - returns (uint192) + returns (uint160) { return ExitId.getInFlightExitId(_txBytes); }