@@ -162,7 +162,7 @@ func (x *roundCowBase) blockHdr(r basics.Round) (bookkeeping.BlockHeader, error)
162
162
}
163
163
164
164
func (x * roundCowBase ) allocated (addr basics.Address , aidx basics.AppIndex , global bool ) (bool , error ) {
165
- acct , _ , err := x .l . LookupWithoutRewards ( x . rnd , addr )
165
+ acct , err := x .lookup ( addr )
166
166
if err != nil {
167
167
return false , err
168
168
}
@@ -181,7 +181,7 @@ func (x *roundCowBase) allocated(addr basics.Address, aidx basics.AppIndex, glob
181
181
// getKey gets the value for a particular key in some storage
182
182
// associated with an application globally or locally
183
183
func (x * roundCowBase ) getKey (addr basics.Address , aidx basics.AppIndex , global bool , key string , accountIdx uint64 ) (basics.TealValue , bool , error ) {
184
- ad , _ , err := x .l . LookupWithoutRewards ( x . rnd , addr )
184
+ ad , err := x .lookup ( addr )
185
185
if err != nil {
186
186
return basics.TealValue {}, false , err
187
187
}
@@ -211,7 +211,7 @@ func (x *roundCowBase) getKey(addr basics.Address, aidx basics.AppIndex, global
211
211
// getStorageCounts counts the storage types used by some account
212
212
// associated with an application globally or locally
213
213
func (x * roundCowBase ) getStorageCounts (addr basics.Address , aidx basics.AppIndex , global bool ) (basics.StateSchema , error ) {
214
- ad , _ , err := x .l . LookupWithoutRewards ( x . rnd , addr )
214
+ ad , err := x .lookup ( addr )
215
215
if err != nil {
216
216
return basics.StateSchema {}, err
217
217
}
0 commit comments