🎨 Improve tx

This commit is contained in:
Daniel 2024-08-05 21:12:31 +08:00
parent 1487b1165f
commit 8a82ce0feb
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1051,11 +1051,6 @@ func (tx *Transaction) doUpdate(operation *Operation) (ret *TxErr) {
id := operation.ID
tree, err := tx.loadTree(id)
if nil != err {
if errors.Is(err, ErrBlockNotFound) {
logging.LogWarnf("not found block [%s]", id)
return
}
logging.LogErrorf("load tree [%s] failed: %s", id, err)
return &TxErr{code: TxErrCodeBlockNotFound, id: id}
}