]> Git Repo - VerusCoin.git/commitdiff
Bugfix: bitcoin-tx: scriptPubKey may be null, so accept outscript=<n>:
authorLuke Dashjr <[email protected]>
Sun, 14 Sep 2014 05:28:41 +0000 (05:28 +0000)
committerLuke Dashjr <[email protected]>
Sun, 14 Sep 2014 05:28:41 +0000 (05:28 +0000)
src/bitcoin-tx.cpp

index 91525b51c9e4c7bca0e1ed7a0eaf9a145b923093..70819ff2e55a9115251f0ecfa5bb0358ea29182d 100644 (file)
@@ -237,8 +237,7 @@ static void MutateTxAddOutScript(CMutableTransaction& tx, const string& strInput
     // separate VALUE:SCRIPT in string
     size_t pos = strInput.find(':');
     if ((pos == string::npos) ||
-        (pos == 0) ||
-        (pos == (strInput.size() - 1)))
+        (pos == 0))
         throw runtime_error("TX output missing separator");
 
     // extract and validate VALUE
This page took 0.022585 seconds and 4 git commands to generate.