summaryrefslogtreecommitdiff
path: root/node/impls.go
diff options
context:
space:
mode:
Diffstat (limited to 'node/impls.go')
-rw-r--r--node/impls.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/impls.go b/node/impls.go
index 67f9963a0..d7ced370b 100644
--- a/node/impls.go
+++ b/node/impls.go
@@ -114,8 +114,8 @@ func (l agreementLedger) EnsureDigest(cert agreement.Certificate, verifier *agre
}
// Wrapping error with a LedgerDroppedRoundError when an old round is requested but the ledger has already dropped the entry
-func (l agreementLedger) Lookup(rnd basics.Round, addr basics.Address) (basics.AccountData, error) {
- record, err := l.Ledger.Lookup(rnd, addr)
+func (l agreementLedger) LookupAgreement(rnd basics.Round, addr basics.Address) (basics.OnlineAccountData, error) {
+ record, err := l.Ledger.LookupAgreement(rnd, addr)
var e *ledger.RoundOffsetError
if errors.As(err, &e) {
err = &agreement.LedgerDroppedRoundError{