Add Transaction.transactionManager getter for convenience

This commit is contained in:
wltsmrz
2014-01-07 10:28:55 -08:00
parent ef6aca8d12
commit 99351aa2dc

View File

@@ -719,6 +719,10 @@ Transaction.prototype.submit = function(callback) {
return this;
};
Transaction.prototype.transactionManager = function() {
return this.remote.account(this.tx_json.Account)._transactionManager;
};
Transaction.prototype.abort = function(callback) {
if (!this.finalized) {
var callback = typeof callback === 'function' ? callback : function(){};