remove dead code

This commit is contained in:
Petros Angelatos 2014-07-02 01:22:18 +01:00
parent 1cfa302c35
commit d2ce401f84
1 changed files with 0 additions and 4 deletions

View File

@ -602,10 +602,6 @@ Script.stringToBuffer = function(s) {
// string
//console.log('string');
word = word.substring(1, word.length - 1);
var hexString = '';
for (var c = 0; c < word.length; c++) {
hexString += '' + word.charCodeAt(c).toString(16);
}
buf.put(Script.chunksToBuffer([new Buffer(word)]));
} else {
throw new Error('Could not parse word "' + word + '" from script "' + s + '"');