Browse Source

transaction: update serialization skip docs

patch-2
Braydon Fuller 9 years ago
parent
commit
73bac9b07b
  1. 4
      lib/transaction/transaction.js

4
lib/transaction/transaction.js

@ -165,8 +165,8 @@ Transaction.prototype.uncheckedSerialize = Transaction.prototype.toString = func
Transaction.prototype.checkedSerialize = function(opts) { Transaction.prototype.checkedSerialize = function(opts) {
var serializationError = this.getSerializationError(opts); var serializationError = this.getSerializationError(opts);
if (serializationError) { if (serializationError) {
serializationError.message += ' Use Transaction#uncheckedSerialize if you want to skip security checks. ' + serializationError.message += ' - For more information please see: ' +
'See http://bitcore.io/guide/transaction.html#Serialization for more info.'; 'https://bitcore.io/api/lib/transaction#serialization-checks';
throw serializationError; throw serializationError;
} }
return this.uncheckedSerialize(); return this.uncheckedSerialize();

Loading…
Cancel
Save