Skip to content

Commit fc9602c

Browse files
committed
Correct the target to update the balance of settling deposit (#324)
1 parent 6b85a82 commit fc9602c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action/protocols/multichain/subchain/protocol.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func (p *Protocol) mutateDeposit(deposit *action.SettleDeposit, ws state.Working
122122
}
123123

124124
// Update the deposit recipient
125-
recipient, err := ws.LoadOrCreateAccountState(deposit.Sender(), big.NewInt(0))
125+
recipient, err := ws.LoadOrCreateAccountState(deposit.Recipient(), big.NewInt(0))
126126
if err != nil {
127127
return err
128128
}

0 commit comments

Comments
 (0)