mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-06-06 22:26:43 +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"
|
daotypes "github.com/planetmint/planetmint-go/x/dao/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CheckReissuanceDecorator struct {
|
type CheckReissuanceDecorator struct{}
|
||||||
MintAddress string
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewCheckReissuanceDecorator() CheckReissuanceDecorator {
|
func NewCheckReissuanceDecorator() CheckReissuanceDecorator {
|
||||||
return CheckReissuanceDecorator{}
|
return CheckReissuanceDecorator{}
|
||||||
|
@ -23,12 +23,12 @@ func TestQueryGetReissuance(t *testing.T) {
|
|||||||
err error
|
err error
|
||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
desc: "mint request found",
|
desc: "reissuance request found",
|
||||||
request: &types.QueryGetReissuanceRequest{BlockHeight: 0},
|
request: &types.QueryGetReissuanceRequest{BlockHeight: 0},
|
||||||
response: &types.QueryGetReissuanceResponse{Reissuance: &items[0]},
|
response: &types.QueryGetReissuanceResponse{Reissuance: &items[0]},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
desc: "mint request not found",
|
desc: "reissuance request not found",
|
||||||
request: &types.QueryGetReissuanceRequest{BlockHeight: 100},
|
request: &types.QueryGetReissuanceRequest{BlockHeight: 100},
|
||||||
err: status.Error(codes.NotFound, "reissuance not found"),
|
err: status.Error(codes.NotFound, "reissuance not found"),
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user