aboutsummaryrefslogtreecommitdiffstats
path: root/rlp.cpp
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2014-10-17 21:49:27 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2014-10-17 21:49:27 +0800
commitd5502aee4866b8f321a85d1bd9b320cf574f5378 (patch)
tree0c9cad6262f7f0ff0a1769d89238f7820d5a2573 /rlp.cpp
parent31359aa253317b50bc47e1f8468977918bcbd4a4 (diff)
parent693fe08bc996ff8403c75a770a735916dae4fc5b (diff)
downloaddexon-solidity-d5502aee4866b8f321a85d1bd9b320cf574f5378.tar.gz
dexon-solidity-d5502aee4866b8f321a85d1bd9b320cf574f5378.tar.zst
dexon-solidity-d5502aee4866b8f321a85d1bd9b320cf574f5378.zip
Merge branch 'develop' into mk_jsonrpc
Conflicts: libqethereum/QEthereum.h
Diffstat (limited to 'rlp.cpp')
-rw-r--r--rlp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rlp.cpp b/rlp.cpp
index 95d40ada..69360ad6 100644
--- a/rlp.cpp
+++ b/rlp.cpp
@@ -79,7 +79,7 @@ namespace dev
if ( v.type() == js::str_type )
{
const std::string& expectedText = v.get_str();
- if ( expectedText.front() == '#' )
+ if ( !expectedText.empty() && expectedText.front() == '#' )
{
// Deal with bigint instead of a raw string
std::string bigIntStr = expectedText.substr(1,expectedText.length()-1);