Skip to content

Commit

Permalink
Merge pull request #1516 from 0chain/hotfix/reset-miners-on-error
Browse files Browse the repository at this point in the history
reset when all failed but we got the response
  • Loading branch information
dabasov authored Jun 2, 2024
2 parents d06dcb3 + 29a1fcd commit bffaa2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zcncore/transaction_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ func (t *Transaction) submitTxn() {
} else {
t.completeTxn(StatusError, "", fmt.Errorf("submit transaction failed. %s", ret.Body))
node.Cache.Evict(t.txn.ClientID)
ResetStableMiners()
}
}
}
Expand Down

0 comments on commit bffaa2c

Please sign in to comment.