mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00
fix casting/marshalling bug
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
128a406158
commit
87641aefe8
@ -14,7 +14,7 @@ func (k Keeper) StoreReissuance(ctx sdk.Context, reissuance types.Reissuance) {
|
||||
store.Set(getReissuanceBytes(reissuance.BlockHeight), appendValue)
|
||||
}
|
||||
|
||||
func (k Keeper) GetReissuance(ctx sdk.Context, height uint64) (val types.Challenge, found bool) {
|
||||
func (k Keeper) GetReissuance(ctx sdk.Context, height uint64) (val types.Reissuance, found bool) {
|
||||
store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.ReissuanceBlockHeightKey))
|
||||
reissuance := store.Get(getReissuanceBytes(height))
|
||||
if reissuance == nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user