Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #217 from irisnet/develop
Browse files Browse the repository at this point in the history
R4R: merge to master
  • Loading branch information
kaifei Hu authored Apr 1, 2020
2 parents 5697a75 + 19fa677 commit 4860445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/helper/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func ParseTx(txBytes itypes.Tx, block *itypes.Block) document.CommonTx {
msg := msg.(itypes.MsgBeginRedelegate)

shares := ParseFloat(msg.SharesAmount.String())
docTx.From = msg.DelegatorAddr.String()
docTx.From = msg.ValidatorSrcAddr.String()
docTx.To = msg.ValidatorDstAddr.String()
coin := store.Coin{
Amount: shares,
Expand Down

0 comments on commit 4860445

Please sign in to comment.