Skip to content

Commit

Permalink
fix: fix return types of get exit id functions (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgebal committed Oct 18, 2019
1 parent 555a7cd commit 9c5a834
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
}
Expand Down

0 comments on commit 9c5a834

Please sign in to comment.