Skip to content

Commit e30bb35

Browse files
committed
refactor: correct error message for positive amount validation in ContractError
1 parent 6f95a08 commit e30bb35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎contracts/escrow/src/error.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ impl fmt::Display for ContractError {
173173
ContractError::AmountsToBeTransferredShouldBePositive => {
174174
write!(
175175
f,
176-
"None of the amounts to be transferred should be less than 0."
176+
"None of the amounts to be transferred should be less or equalP than 0."
177177
)
178178
}
179179
ContractError::InsufficientFundsForRefund => {

0 commit comments

Comments
 (0)