Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
danil-lashin committed Oct 14, 2020
1 parent 2f0c6d3 commit b6571e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/transaction/recreate_coin.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (data RecreateCoinData) BasicCheck(tx *Transaction, context *state.CheckSta
}

symbolInfo := context.Coins().GetSymbolInfo(coin.Symbol())
if symbolInfo == nil || symbolInfo.OwnerAddress() == nil || symbolInfo.OwnerAddress().Compare(sender) != 0 {
if symbolInfo == nil || symbolInfo.OwnerAddress() == nil || *symbolInfo.OwnerAddress() != sender {
var owner *string
if symbolInfo != nil && symbolInfo.OwnerAddress() != nil {
own := symbolInfo.OwnerAddress().String()
Expand Down

0 comments on commit b6571e9

Please sign in to comment.