Skip to content

Commit

Permalink
remove oracle account address from send blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
Yun committed Oct 22, 2019
1 parent 2f75b51 commit 1c7199e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func NewTerraApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest
// add keepers
app.accountKeeper = auth.NewAccountKeeper(app.cdc, keys[auth.StoreKey], authSubspace, auth.ProtoBaseAccount)
sendBlackListAddrs := app.ModuleAccountAddrs()
delete(sendBlackListAddrs, oracle.ModuleName)
delete(sendBlackListAddrs, supply.NewModuleAddress(oracle.ModuleName).String())
app.bankKeeper = bank.NewBaseKeeper(app.accountKeeper, bankSubspace, bank.DefaultCodespace, sendBlackListAddrs)
app.supplyKeeper = supply.NewKeeper(app.cdc, keys[supply.StoreKey], app.accountKeeper, app.bankKeeper, maccPerms)
stakingKeeper := staking.NewKeeper(app.cdc, keys[staking.StoreKey], tkeys[staking.TStoreKey],
Expand Down

0 comments on commit 1c7199e

Please sign in to comment.