@pioneer-platform/thor-network 8.1.33 → 8.1.35
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/lib/index.js +4 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -179,12 +179,15 @@ var broadcast_transaction = function (tx) {
|
|
|
179
179
|
if (result2 && result2.data && result2.data.txhash)
|
|
180
180
|
output.txid = result2.data.txhash;
|
|
181
181
|
//verify success
|
|
182
|
-
if (result2.data.raw_log) {
|
|
182
|
+
if (result2.data.raw_log && result2.data.raw_log !== '[]') {
|
|
183
183
|
logSend = result2.data.raw_log;
|
|
184
184
|
log.info(tag, "logSend: ", logSend);
|
|
185
185
|
output.success = false;
|
|
186
186
|
output.error = logSend;
|
|
187
187
|
}
|
|
188
|
+
else {
|
|
189
|
+
output.success = true;
|
|
190
|
+
}
|
|
188
191
|
output.height = result2.height;
|
|
189
192
|
output.gas_wanted = result2.gas_wanted;
|
|
190
193
|
output.gas_used = result2.gas_used;
|