mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 23:02:27 +00:00
dao: drop DAO interface
It's a remnant from the days when we had Simple and Cached DAO implementations, now it makes zero sense.
This commit is contained in:
parent
9d2ef775cf
commit
aefb26255a
15 changed files with 79 additions and 122 deletions
|
@ -178,7 +178,7 @@ func TestAppCall(t *testing.T) {
|
|||
require.NoError(t, err)
|
||||
|
||||
ih := hash.Hash160(inner.Script)
|
||||
var contractGetter = func(_ dao.DAO, h util.Uint160) (*state.Contract, error) {
|
||||
var contractGetter = func(_ *dao.Simple, h util.Uint160) (*state.Contract, error) {
|
||||
if h.Equals(ih) {
|
||||
return &state.Contract{
|
||||
ContractBase: state.ContractBase{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue