add coverage, skip failing tests

This commit is contained in:
Manuel Araoz 2014-06-09 11:19:38 -03:00
commit 84b3752a58
5 changed files with 118 additions and 5 deletions

View file

@ -140,7 +140,7 @@ Insight.prototype.getUnspent = function(addresses, cb) {
};
Insight.prototype.sendRawTransaction = function(rawtx, cb) {
if (!rawtx) return callback();
if (!rawtx) throw new Error('rawtx must be set');
var options = {
host: this.host,