Skip to content

Commit

Permalink
Correct the target to update the balance of settling deposit (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjshen14 committed Nov 15, 2018
1 parent 6b85a82 commit fc9602c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action/protocols/multichain/subchain/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (p *Protocol) mutateDeposit(deposit *action.SettleDeposit, ws state.Working
}

// Update the deposit recipient
recipient, err := ws.LoadOrCreateAccountState(deposit.Sender(), big.NewInt(0))
recipient, err := ws.LoadOrCreateAccountState(deposit.Recipient(), big.NewInt(0))
if err != nil {
return err
}
Expand Down

0 comments on commit fc9602c

Please sign in to comment.