|
@ -157,7 +157,8 @@ TxProposal.prototype.getBitcoreTx = function() { |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
TxProposal.prototype.getNetworkName = function() { |
|
|
TxProposal.prototype.getNetworkName = function() { |
|
|
return Bitcore.Address(this.toAddress).toObject().network; |
|
|
var someAddress = this.toAddress || this.outputs[0].toAddress; |
|
|
|
|
|
return Bitcore.Address(someAddress).toObject().network; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
TxProposal.prototype.getRawTx = function() { |
|
|
TxProposal.prototype.getRawTx = function() { |
|
|