Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigBalthazar committed Jul 29, 2023
1 parent cf6fca8 commit c61da40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (c *grpcClient) getTransaction(id tx.ID) (*pactus.GetTransactionResponse, e

func (c *grpcClient) getFee(amount int64, payloadType payload.Type) (int64, error) {
res, err := c.transactionClient.CalculateFee(context.Background(), &pactus.CalculateFeeRequest{
Amount: amount, PayloadType: pactus.PayloadType(payloadType)})
Amount: amount, PayloadType: pactus.PayloadType(payloadType)})
if err != nil {
return 0, err

Check warning on line 94 in wallet/client.go

View check run for this annotation

Codecov / codecov/patch

wallet/client.go#L94

Added line #L94 was not covered by tests
}
Expand Down

0 comments on commit c61da40

Please sign in to comment.