Skip to content

Commit

Permalink
fixing second building issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBger committed Feb 1, 2024
1 parent 0714410 commit 945d53c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/psql.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ func (p *Psql) HandleInitializedAccount(dbBlockID int64, initializedAccounts []*
func (p *Psql) HandleBlocksUndo(lastValidBlockNum uint64) error {
_, err := p.tx.Exec("DELETE CASCADE FROM solana_tokens.blocks WHERE num > $1", lastValidBlockNum)
if err != nil {
return fmt.Errorf("deleting block from %s: %w", lastValidBlockNum, err)
return fmt.Errorf("deleting block from %d: %w", lastValidBlockNum, err)
}
return nil
}

var NotFound = errors.New("Not found")
var NotFound = errors.New("not found")

func (p *Psql) resolveAddress(derivedAddress string) (string, error) {
resolvedAddress := ""
Expand Down

0 comments on commit 945d53c

Please sign in to comment.