mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-27 07:35:52 +00:00
Fix transaction constructor
This commit is contained in:
@@ -1666,7 +1666,7 @@ Remote.prototype.transaction = function(source, options, callback) {
|
||||
break;
|
||||
|
||||
case 'string':
|
||||
transactionType = source.toLowerCase();
|
||||
transactionType = transactionTypes[source.toLowerCase()];
|
||||
|
||||
if (!transactionType) {
|
||||
throw new Error('Invalid transaction type: ' + transactionType);
|
||||
|
||||
Reference in New Issue
Block a user