OSDN Git Service

feat: add fed orm (#136)
[bytom/vapor.git] / protocol / store.go
index 48ac4e8..d2d1126 100644 (file)
@@ -26,7 +26,7 @@ type Store interface {
 
        LoadBlockIndex(uint64) (*state.BlockIndex, error)
        SaveBlock(*types.Block, *bc.TransactionStatus) error
-       SaveChainStatus(*state.BlockNode, *state.BlockNode, *state.UtxoViewpoint, map[uint64]*state.VoteResult) error
+       SaveChainStatus(*state.BlockNode, *state.BlockNode, *state.UtxoViewpoint, []*state.VoteResult) error
        SaveChainNodeStatus(*state.BlockNode, *state.BlockNode) error
 }