From b4e16a05b1a7061044451aca942752a954dae33d Mon Sep 17 00:00:00 2001 From: eveneast <166489430+eveneast@users.noreply.github.com> Date: Sun, 11 May 2025 23:38:00 +0800 Subject: [PATCH] chore: fix some typos in comment (#2258) Signed-off-by: eveneast --- cw_tron/lib/tron_client.dart | 2 +- cw_zano/lib/api/model/destination.dart | 2 +- lib/core/node_address_validator.dart | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cw_tron/lib/tron_client.dart b/cw_tron/lib/tron_client.dart index 8eca02af6..ee93fbd53 100644 --- a/cw_tron/lib/tron_client.dart +++ b/cw_tron/lib/tron_client.dart @@ -428,7 +428,7 @@ class TronClient { if (!request.isSuccess) { log("Tron TRC20 error: ${request.error} \n ${request.respose}"); throw Exception( - 'An error occured while creating the transfer request. Please try again.', + 'An error occurred while creating the transfer request. Please try again.', ); } diff --git a/cw_zano/lib/api/model/destination.dart b/cw_zano/lib/api/model/destination.dart index 3db4f6652..13f4673ab 100644 --- a/cw_zano/lib/api/model/destination.dart +++ b/cw_zano/lib/api/model/destination.dart @@ -1,5 +1,5 @@ class Destination { - final BigInt amount; // transfered as string + final BigInt amount; // transferred as string final String address; final String assetId; diff --git a/lib/core/node_address_validator.dart b/lib/core/node_address_validator.dart index 68478d501..ce8709a3c 100644 --- a/lib/core/node_address_validator.dart +++ b/lib/core/node_address_validator.dart @@ -19,7 +19,7 @@ class NodePathValidator extends TextValidator { } // NodeAddressValidatorDecredBlankException allows decred to send a blank ip -// address which effectively clears the current set persistant peer. +// address which effectively clears the current set persistent peer. class NodeAddressValidatorDecredBlankException extends TextValidator { NodeAddressValidatorDecredBlankException() : super(