mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
Add Transaction.transactionManager getter for convenience
This commit is contained in:
@@ -719,6 +719,10 @@ Transaction.prototype.submit = function(callback) {
|
|||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Transaction.prototype.transactionManager = function() {
|
||||||
|
return this.remote.account(this.tx_json.Account)._transactionManager;
|
||||||
|
};
|
||||||
|
|
||||||
Transaction.prototype.abort = function(callback) {
|
Transaction.prototype.abort = function(callback) {
|
||||||
if (!this.finalized) {
|
if (!this.finalized) {
|
||||||
var callback = typeof callback === 'function' ? callback : function(){};
|
var callback = typeof callback === 'function' ? callback : function(){};
|
||||||
|
|||||||
Reference in New Issue
Block a user