mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 19:55: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;
|
||||
};
|
||||
|
||||
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(){};
|
||||
|
||||
Reference in New Issue
Block a user