Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

Commit

Permalink
Fix intent and unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
k06a authored and boolafish committed Oct 26, 2018
1 parent 794e6be commit 8c6bcda
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plasma_cash/root_chain/contracts/Libraries/RLP.sol
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,10 @@ library RLP {
view
returns (address data)
{
uint rStartPos;
uint len;
(rStartPos, len) = _decode(self);
(, len) = _decode(self);
require(len <= 20);
return address(toUint(self));
return address(toUint(self));
}

/// @dev Return the RLP encoded bytes.
Expand Down

0 comments on commit 8c6bcda

Please sign in to comment.