Skip to content

Commit

Permalink
Fix not found account
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianH committed Jul 19, 2023
1 parent 0709a44 commit 097f995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func HandleAccountTask(ctx context.Context, t *asynq.Task) error {

purse, err := WorkerRpcClient.GetMainPurse("account-hash-" + accountHash)
if err != nil {
if strings.Contains(err.Error(), "ValueNotFound(\"Failed to find base key at path") {
if strings.Contains(err.Error(), "ValueNotFound(\\\"Failed to find base key at path") {
return nil
}
return err
Expand Down

0 comments on commit 097f995

Please sign in to comment.