Skip to content

Commit

Permalink
update transaction: enable fee edition
Browse files Browse the repository at this point in the history
  • Loading branch information
Thykof authored and peterjah committed Nov 9, 2023
1 parent 7c7e9fb commit 3dcad4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/handler/wallet/transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ func (t *transferCoin) Handle(params operations.TransferCoinParams) middleware.R

promptRequest := prompt.PromptRequest{
Action: walletapp.Sign,
Msg: fmt.Sprintf("Unprotect wallet %s", acc.Nickname),
Data: PromptRequestSignData{
Fees: string(params.Body.Fee),
OperationType: 0,
WalletAddress: address,
Nickname: acc.Nickname,
OperationType: int(transaction.OpType),
AllowFeeEdition: true,
RecipientAddress: *params.Body.RecipientAddress,
RecipientNickname: recipientNickname,
Amount: string(params.Body.Amount),
WalletAddress: address,
Nickname: acc.Nickname,
},
}

Expand Down

0 comments on commit 3dcad4a

Please sign in to comment.