From 2c4e718a67b7a80380bba2c7a6a5aeb5e948660b Mon Sep 17 00:00:00 2001 From: Ian Norden Date: Mon, 14 Sep 2020 10:18:50 -0500 Subject: [PATCH] no more need for errNotSupported --- postgres/database.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/postgres/database.go b/postgres/database.go index 3872935..a1253f8 100644 --- a/postgres/database.go +++ b/postgres/database.go @@ -17,7 +17,6 @@ package pgipfsethdb import ( - "errors" "fmt" "strings" @@ -27,8 +26,6 @@ import ( "github.com/jmoiron/sqlx" ) -var errNotSupported = errors.New("this operation is not supported") - const ( hasPgStr = "SELECT exists(SELECT 1 FROM eth.key_preimages WHERE eth_key = $1)" getPgStr = "SELECT data FROM public.blocks INNER JOIN eth.key_preimages ON (ipfs_key = blocks.key) WHERE eth_key = $1"