From 6367cbe368384efa2d220c496d70f5fc49c2caf9 Mon Sep 17 00:00:00 2001 From: Braydon Fuller Date: Wed, 8 Apr 2015 12:46:18 -0400 Subject: [PATCH] Fixed typos in transaction.verify error messages --- lib/transaction/transaction.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/transaction/transaction.js b/lib/transaction/transaction.js index 9fc0e74..094ebf9 100644 --- a/lib/transaction/transaction.js +++ b/lib/transaction/transaction.js @@ -1011,12 +1011,12 @@ Transaction.prototype.verify = function() { if (isCoinbase) { var buf = this.inputs[0]._script.toBuffer(); if (buf.length < 2 || buf.length > 100) { - return 'coinbase trasaction script size invalid'; + return 'coinbase transaction script size invalid'; } } else { for (i = 0; i < this.inputs.length; i++) { if (this.inputs[i].isNull()) { - return 'tranasction input ' + i + ' has null input'; + return 'transaction input ' + i + ' has null input'; } } }