OSDN Git Service

fix
authorwz <mars@bytom.io>
Tue, 15 Oct 2019 09:14:28 +0000 (17:14 +0800)
committerwz <mars@bytom.io>
Tue, 15 Oct 2019 09:14:28 +0000 (17:14 +0800)
application/mov/database/mov_store.go

index 3f3f38a..9506f7b 100644 (file)
@@ -283,5 +283,6 @@ func (m *MovStore) getCurrentState(blockHeader *types.BlockHeader) (*common.MovD
                hash = blockHeader.PreviousBlockHash
                height = blockHeader.Height - 1
        }
+
        return &common.MovDatabaseState{Height: height, Hash: &hash}, nil
 }