Skip to content

Commit 0d3edd3

Browse files
committed
fix(x/escrow): use granters address as deposit owner for authz spend
Signed-off-by: Artur Troian <troian@users.noreply.github.com>
1 parent ac05cb5 commit 0d3edd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/escrow/keeper/keeper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ func (k *keeper) AuthorizeDeposits(sctx sdk.Context, msg sdk.Msg) ([]etypes.Depo
239239
authorizedSpend = authorizedSpend.Sub(deplAuthz.SpendLimit)
240240

241241
depositors = append(depositors, etypes.Depositor{
242-
Owner: owner.String(),
242+
Owner: granter.String(),
243243
Height: sctx.BlockHeight(),
244244
Balance: sdk.NewDecCoinFromCoin(authorizedSpend),
245245
})

0 commit comments

Comments
 (0)