mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-06-03 20:56:38 +00:00
remove unused code
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
6e3d5ec394
commit
267f4beb37
@ -8,9 +8,7 @@ import (
|
||||
daotypes "github.com/planetmint/planetmint-go/x/dao/types"
|
||||
)
|
||||
|
||||
type CheckReissuanceDecorator struct {
|
||||
MintAddress string
|
||||
}
|
||||
type CheckReissuanceDecorator struct{}
|
||||
|
||||
func NewCheckReissuanceDecorator() CheckReissuanceDecorator {
|
||||
return CheckReissuanceDecorator{}
|
||||
|
@ -23,12 +23,12 @@ func TestQueryGetReissuance(t *testing.T) {
|
||||
err error
|
||||
}{
|
||||
{
|
||||
desc: "mint request found",
|
||||
desc: "reissuance request found",
|
||||
request: &types.QueryGetReissuanceRequest{BlockHeight: 0},
|
||||
response: &types.QueryGetReissuanceResponse{Reissuance: &items[0]},
|
||||
},
|
||||
{
|
||||
desc: "mint request not found",
|
||||
desc: "reissuance request not found",
|
||||
request: &types.QueryGetReissuanceRequest{BlockHeight: 100},
|
||||
err: status.Error(codes.NotFound, "reissuance not found"),
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user