diff options
Diffstat (limited to 'data/ledger.go')
-rw-r--r-- | data/ledger.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/ledger.go b/data/ledger.go index d652d4c69..0767d2948 100644 --- a/data/ledger.go +++ b/data/ledger.go @@ -101,7 +101,7 @@ func LoadLedger( l := &Ledger{ log: log, } - genesisInitState := ledger.InitState{ + genesisInitState := ledgercore.InitState{ Block: genBlock, Accounts: genesisBal.Balances, GenesisHash: genesisHash, @@ -316,7 +316,7 @@ func (l *Ledger) ConsensusVersion(r basics.Round) (protocol.ConsensusVersion, er // EnsureValidatedBlock ensures that the block, and associated certificate c, are // written to the ledger, or that some other block for the same round is // written to the ledger. -func (l *Ledger) EnsureValidatedBlock(vb *ledger.ValidatedBlock, c agreement.Certificate) { +func (l *Ledger) EnsureValidatedBlock(vb *ledgercore.ValidatedBlock, c agreement.Certificate) { round := vb.Block().Round() for l.LastRound() < round { |