Skip to content

Commit

Permalink
fix: wrong return value
Browse files Browse the repository at this point in the history
  • Loading branch information
hacheigriega committed Aug 28, 2024
1 parent 016e4b1 commit 03330db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/tally/keeper/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (k Keeper) FilterAndTally(ctx sdk.Context, req types.Request) (tallyResult,
// the tally VM expects.
decodedBytes, err := base64.StdEncoding.DecodeString(req.PaybackAddress)
if err != nil {
return tallyvm.VmResult{}, false, errorsmod.Wrap(err, "failed to decode payback address")
return result, errorsmod.Wrap(err, "failed to decode payback address")
}
paybackAddrHex := hex.EncodeToString(decodedBytes)

Expand Down

0 comments on commit 03330db

Please sign in to comment.