@multiplechain/bitcoin 0.1.17 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -118,6 +118,8 @@ class Transaction {
|
|
|
118
118
|
timer = this.timer || timer;
|
|
119
119
|
try {
|
|
120
120
|
|
|
121
|
+
await new Promise(r => setTimeout(r, (timer*1000)));
|
|
122
|
+
|
|
121
123
|
await this.getData();
|
|
122
124
|
|
|
123
125
|
let result = null;
|
|
@@ -130,8 +132,6 @@ class Transaction {
|
|
|
130
132
|
return result;
|
|
131
133
|
}
|
|
132
134
|
|
|
133
|
-
await new Promise(r => setTimeout(r, (timer*1000)));
|
|
134
|
-
|
|
135
135
|
return this.validate(timer);
|
|
136
136
|
} catch (error) {
|
|
137
137
|
|