mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-27 07:35:52 +00:00
[FIX] remote.getPendingTransactions sets _clientID now correctly
- added testcase for it
This commit is contained in:
@@ -421,12 +421,11 @@ Remote.prototype.getPendingTransactions = function() {
|
||||
|
||||
var transaction = self.transaction();
|
||||
transaction.parseJson(tx.tx_json);
|
||||
|
||||
transaction.clientID(tx.clientID);
|
||||
Object.keys(tx).forEach(function(prop) {
|
||||
switch (prop) {
|
||||
case 'secret':
|
||||
case 'submittedIDs':
|
||||
case 'clientID':
|
||||
case 'submitIndex':
|
||||
transaction[prop] = tx[prop];
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user