Skip to content

Commit

Permalink
hard fail cache snapshot if lock inputs failed
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricfung committed Mar 18, 2019
1 parent e0f943c commit 4ee1574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/self.go
Expand Up @@ -44,7 +44,7 @@ func (node *Node) checkCacheSnapshotTransaction(s *common.Snapshot) (*common.Sig

err = tx.LockInputs(node.store, false)
if err != nil {
return nil, err
return nil, nil
}

return tx, node.store.WriteTransaction(tx)
Expand Down

0 comments on commit 4ee1574

Please sign in to comment.