File tree Expand file tree Collapse file tree 7 files changed +0
-13
lines changed Expand file tree Collapse file tree 7 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -278,8 +278,6 @@ extension ABI.Element.Function {
278278
279279 let message = String ( bytes: data. bytes [ 68 ..< ( 68 + len) ] , encoding: . utf8) !
280280
281- print ( " read function aborted by require statement: \( message) " )
282-
283281 var returnArray = [ String: Any] ( )
284282
285283 // set infomation
Original file line number Diff line number Diff line change @@ -297,7 +297,6 @@ extension ABIEncoder {
297297 }
298298 }
299299 let total = lengthEncoding + headsConcatenated + tailsConcatenated
300- // print("Dynamic array of dynamic types encoding :\n" + String(total.toHexString()))
301300 return total
302301 }
303302 case . staticSize( let staticLength) :
@@ -312,7 +311,6 @@ extension ABIEncoder {
312311 guard let encoding = enc else { break }
313312 toReturn. append ( encoding)
314313 }
315- // print("Static array of static types encoding :\n" + String(toReturn.toHexString()))
316314 let total = toReturn
317315 return total
318316 } else {
@@ -340,7 +338,6 @@ extension ABIEncoder {
340338 tailsPointer = tailsPointer + BigUInt( tail. count)
341339 }
342340 let total = headsConcatenated + tailsConcatenated
343- // print("Static array of dynamic types encoding :\n" + String(total.toHexString()))
344341 return total
345342 }
346343 case . notArray:
Original file line number Diff line number Diff line change @@ -267,7 +267,6 @@ extension SECP256K1 {
267267 }
268268 }
269269 guard let res = result, res != 0 else {
270- print ( " Failed to sign! " )
271270 return nil
272271 }
273272 return recoverableSignature
Original file line number Diff line number Diff line change @@ -148,9 +148,6 @@ extension Bridge: WKScriptMessageHandler {
148148 guard let body = message. body as? [ String : Any ] , let name = body [ MessageKey . action] as? String else {
149149 return
150150 }
151- if ( body [ MessageKey . printable] as? NSNumber ) ? . boolValue ?? printScriptMessageAutomatically {
152- print ( body)
153- }
154151 guard let handler = handlers [ name] else {
155152 guard let defaultHandler = self . defaultHandler else {
156153 return
Original file line number Diff line number Diff line change @@ -343,7 +343,6 @@ extension Web3 {
343343 code. function = functionEncoding
344344 }
345345
346- print ( code)
347346 return code
348347 }
349348
Original file line number Diff line number Diff line change @@ -44,8 +44,6 @@ public struct NameHash {
4444 hashData. append ( remainderHash)
4545 hashData. append ( labelData. sha3 ( . keccak256) )
4646 let hash = hashData. sha3 ( . keccak256)
47- print ( name)
48- print ( hash. toHexString ( ) )
4947 return hash
5048 }
5149}
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ extension Web3 {
3030 self . transaction = transaction
3131 switch abiVersion {
3232 case 1 :
33- print ( " ABIv1 bound contract is now deprecated " )
3433 return nil
3534 case 2 :
3635 guard let contract = try ? EthereumContract ( abiString, at: at) else { return nil }
You can’t perform that action at this time.
0 commit comments