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 {
278
278
279
279
let message = String ( bytes: data. bytes [ 68 ..< ( 68 + len) ] , encoding: . utf8) !
280
280
281
- print ( " read function aborted by require statement: \( message) " )
282
-
283
281
var returnArray = [ String: Any] ( )
284
282
285
283
// set infomation
Original file line number Diff line number Diff line change @@ -297,7 +297,6 @@ extension ABIEncoder {
297
297
}
298
298
}
299
299
let total = lengthEncoding + headsConcatenated + tailsConcatenated
300
- // print("Dynamic array of dynamic types encoding :\n" + String(total.toHexString()))
301
300
return total
302
301
}
303
302
case . staticSize( let staticLength) :
@@ -312,7 +311,6 @@ extension ABIEncoder {
312
311
guard let encoding = enc else { break }
313
312
toReturn. append ( encoding)
314
313
}
315
- // print("Static array of static types encoding :\n" + String(toReturn.toHexString()))
316
314
let total = toReturn
317
315
return total
318
316
} else {
@@ -340,7 +338,6 @@ extension ABIEncoder {
340
338
tailsPointer = tailsPointer + BigUInt( tail. count)
341
339
}
342
340
let total = headsConcatenated + tailsConcatenated
343
- // print("Static array of dynamic types encoding :\n" + String(total.toHexString()))
344
341
return total
345
342
}
346
343
case . notArray:
Original file line number Diff line number Diff line change @@ -267,7 +267,6 @@ extension SECP256K1 {
267
267
}
268
268
}
269
269
guard let res = result, res != 0 else {
270
- print ( " Failed to sign! " )
271
270
return nil
272
271
}
273
272
return recoverableSignature
Original file line number Diff line number Diff line change @@ -148,9 +148,6 @@ extension Bridge: WKScriptMessageHandler {
148
148
guard let body = message. body as? [ String : Any ] , let name = body [ MessageKey . action] as? String else {
149
149
return
150
150
}
151
- if ( body [ MessageKey . printable] as? NSNumber ) ? . boolValue ?? printScriptMessageAutomatically {
152
- print ( body)
153
- }
154
151
guard let handler = handlers [ name] else {
155
152
guard let defaultHandler = self . defaultHandler else {
156
153
return
Original file line number Diff line number Diff line change @@ -343,7 +343,6 @@ extension Web3 {
343
343
code. function = functionEncoding
344
344
}
345
345
346
- print ( code)
347
346
return code
348
347
}
349
348
Original file line number Diff line number Diff line change @@ -44,8 +44,6 @@ public struct NameHash {
44
44
hashData. append ( remainderHash)
45
45
hashData. append ( labelData. sha3 ( . keccak256) )
46
46
let hash = hashData. sha3 ( . keccak256)
47
- print ( name)
48
- print ( hash. toHexString ( ) )
49
47
return hash
50
48
}
51
49
}
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ extension Web3 {
30
30
self . transaction = transaction
31
31
switch abiVersion {
32
32
case 1 :
33
- print ( " ABIv1 bound contract is now deprecated " )
34
33
return nil
35
34
case 2 :
36
35
guard let contract = try ? EthereumContract ( abiString, at: at) else { return nil }
You can’t perform that action at this time.
0 commit comments