소스 검색

clef: fix stutter in warning message (#19736)

Guillaume Ballet 6 년 전
부모
커밋
2b303e7d62
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      signer/fourbyte/validation.go

+ 1 - 1
signer/fourbyte/validation.go

@@ -58,7 +58,7 @@ func (db *Database) ValidateTransaction(selector *string, tx *core.SendTxArgs) (
 			// No value submitted at least, critically Warn, but don't blow up
 			messages.Crit("Transaction will create contract with empty code")
 		} else if len(data) < 40 { // arbitrary heuristic limit
-			messages.Warn(fmt.Sprintf("Transaction will will create contract, but payload is suspiciously small (%d bytes)", len(data)))
+			messages.Warn(fmt.Sprintf("Transaction will create contract, but payload is suspiciously small (%d bytes)", len(data)))
 		}
 		// Method selector should be nil for contract creation
 		if selector != nil {