From 8c6bcdae2ba002b4ecfc57f758a967c90922b410 Mon Sep 17 00:00:00 2001 From: Anton Bukov Date: Wed, 24 Oct 2018 21:29:54 +0300 Subject: [PATCH] Fix intent and unused variable --- plasma_cash/root_chain/contracts/Libraries/RLP.sol | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plasma_cash/root_chain/contracts/Libraries/RLP.sol b/plasma_cash/root_chain/contracts/Libraries/RLP.sol index 91273ac..fbcbe93 100644 --- a/plasma_cash/root_chain/contracts/Libraries/RLP.sol +++ b/plasma_cash/root_chain/contracts/Libraries/RLP.sol @@ -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.