AppendTags a function of Tags

This commit is contained in:
Christopher Goes
2018-05-10 17:37:12 +02:00
parent c0eb66b133
commit 2b707f6b0a
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -167,7 +167,7 @@ func sendCoins(ctx sdk.Context, am sdk.AccountMapper, fromAddr sdk.Address, toAd
return nil, err
}
return sdk.AppendTags(subTags, addTags), nil
return subTags.AppendTags(addTags), nil
}
// InputOutputCoins handles a list of inputs and outputs
@@ -180,7 +180,7 @@ func inputOutputCoins(ctx sdk.Context, am sdk.AccountMapper, inputs []Input, out
if err != nil {
return nil, err
}
allTags = sdk.AppendTags(allTags, tags)
allTags = allTags.AppendTags(tags)
}
for _, out := range outputs {
@@ -188,7 +188,7 @@ func inputOutputCoins(ctx sdk.Context, am sdk.AccountMapper, inputs []Input, out
if err != nil {
return nil, err
}
allTags = sdk.AppendTags(allTags, tags)
allTags = allTags.AppendTags(tags)
}
return allTags, nil