There was an error while loading. Please reload this page.
1 parent decc715 commit 41600eaCopy full SHA for 41600ea
1 file changed
packages/neuron-wallet/src/services/sync/get-blocks.ts
@@ -46,7 +46,12 @@ export default class GetBlocks {
46
const checkTx = new CheckTx(tx, this.url)
47
const addresses = await checkTx.check(lockHashes)
48
if (addresses.length > 0) {
49
- for (const input of tx.inputs!) {
+ const inputs = tx.inputs!
50
+ for (let i = 0; i < inputs.length; ++i) {
51
+ if (i === 0) {
52
+ continue
53
+ }
54
+ const input = inputs[i]
55
const previousTxHash = input.previousOutput!.txHash
56
let previousTxWithStatus = cachedPreviousTxs.get(previousTxHash)
57
if (!previousTxWithStatus) {
0 commit comments