fixed undelegate rosetta log

pull/4065/head
haodi 3 years ago
parent a8122bb52f
commit a99c785b56
  1. 2
      core/evm.go

@ -253,6 +253,8 @@ func UndelegateFn(ref *block.Header, chain ChainContext) vm.UndelegateFunc {
vm.CALL,
&vm.RosettaLogAddressItem{
Account: &undelegate.DelegatorAddress,
SubAccount: &undelegate.ValidatorAddress,
Metadata: map[string]interface{}{"type": "delegation"},
},
&vm.RosettaLogAddressItem{
Account: &undelegate.DelegatorAddress,

Loading…
Cancel
Save