Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
fix logic in burn request execute
Browse files Browse the repository at this point in the history
  • Loading branch information
vuong177 committed Aug 25, 2022
1 parent 02b1d69 commit 78e2b51
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions x/exp/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ func BurnRequestListEndBlocker(ctx sdk.Context, keeper keeper.ExpKeeper) error {
continue
}

fmt.Println("=====================")
fmt.Println(burnRequest)
fmt.Println("=====================")

err := keeper.SendBurnOracleRequest(ctx, burnRequest)
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion x/exp/keeper/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (k ExpKeeper) ProccessRecvPacketBurnRequest(ctx sdk.Context, addressRequest
}

// set price to state
price, err := sdk.NewDecFromStr(strExpPrice)
price, err := sdk.NewDecFromStr(strings.TrimSpace(strExpPrice))
if err != nil {
return err
}
Expand Down

0 comments on commit 78e2b51

Please sign in to comment.