Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Tron transaction signing #50

Conversation

johnnynanjiang
Copy link

Test case is in TronTransactionTests

@trust-bot
Copy link

SwiftLint found issues

Warnings

File Line Reason
Tron.pb.swift 236 There should be no space before and one after any comma.
Tron.pb.swift 386 There should be no space before and one after any comma.
Tron.pb.swift 455 There should be no space before and one after any comma.
Tron.pb.swift 465 There should be no space before and one after any comma.
Tron.pb.swift 1888 There should be no space before and one after any comma.
Tron.pb.swift 1906 There should be no space before and one after any comma.
Tron.pb.swift 2110 There should be no space before and one after any comma.
Tron.pb.swift 2122 There should be no space before and one after any comma.
Tron.pb.swift 2124 There should be no space before and one after any comma.
Tron.pb.swift 2181 There should be no space before and one after any comma.
Tron.pb.swift 2193 There should be no space before and one after any comma.
Tron.pb.swift 2195 There should be no space before and one after any comma.
Tron.pb.swift 2225 There should be no space before and one after any comma.
Tron.pb.swift 2261 There should be no space before and one after any comma.
Tron.pb.swift 2267 There should be no space before and one after any comma.
Tron.pb.swift 358 Closure expressions should have a single space inside each brace.
Tron.pb.swift 359 Closure expressions should have a single space inside each brace.
Tron.pb.swift 363 Closure expressions should have a single space inside each brace.
Tron.pb.swift 364 Closure expressions should have a single space inside each brace.
Tron.pb.swift 369 Closure expressions should have a single space inside each brace.
Tron.pb.swift 370 Closure expressions should have a single space inside each brace.
Tron.pb.swift 375 Closure expressions should have a single space inside each brace.
Tron.pb.swift 376 Closure expressions should have a single space inside each brace.
Tron.pb.swift 381 Closure expressions should have a single space inside each brace.
Tron.pb.swift 382 Closure expressions should have a single space inside each brace.
Tron.pb.swift 387 Closure expressions should have a single space inside each brace.
Tron.pb.swift 388 Closure expressions should have a single space inside each brace.
Tron.pb.swift 393 Closure expressions should have a single space inside each brace.
Tron.pb.swift 394 Closure expressions should have a single space inside each brace.
Tron.pb.swift 399 Closure expressions should have a single space inside each brace.
Tron.pb.swift 400 Closure expressions should have a single space inside each brace.
Tron.pb.swift 405 Closure expressions should have a single space inside each brace.
Tron.pb.swift 406 Closure expressions should have a single space inside each brace.
Tron.pb.swift 411 Closure expressions should have a single space inside each brace.
Tron.pb.swift 412 Closure expressions should have a single space inside each brace.
Tron.pb.swift 417 Closure expressions should have a single space inside each brace.
Tron.pb.swift 418 Closure expressions should have a single space inside each brace.
Tron.pb.swift 423 Closure expressions should have a single space inside each brace.
Tron.pb.swift 424 Closure expressions should have a single space inside each brace.
Tron.pb.swift 429 Closure expressions should have a single space inside each brace.
Tron.pb.swift 430 Closure expressions should have a single space inside each brace.
Tron.pb.swift 434 Closure expressions should have a single space inside each brace.
Tron.pb.swift 435 Closure expressions should have a single space inside each brace.
Tron.pb.swift 439 Closure expressions should have a single space inside each brace.
Tron.pb.swift 440 Closure expressions should have a single space inside each brace.
Tron.pb.swift 445 Closure expressions should have a single space inside each brace.
Tron.pb.swift 446 Closure expressions should have a single space inside each brace.
Tron.pb.swift 451 Closure expressions should have a single space inside each brace.
Tron.pb.swift 452 Closure expressions should have a single space inside each brace.
Tron.pb.swift 456 Closure expressions should have a single space inside each brace.
Tron.pb.swift 457 Closure expressions should have a single space inside each brace.
Tron.pb.swift 461 Closure expressions should have a single space inside each brace.
Tron.pb.swift 462 Closure expressions should have a single space inside each brace.
Tron.pb.swift 466 Closure expressions should have a single space inside each brace.
Tron.pb.swift 467 Closure expressions should have a single space inside each brace.
Tron.pb.swift 471 Closure expressions should have a single space inside each brace.
Tron.pb.swift 472 Closure expressions should have a single space inside each brace.
Tron.pb.swift 476 Closure expressions should have a single space inside each brace.
Tron.pb.swift 477 Closure expressions should have a single space inside each brace.
Tron.pb.swift 482 Closure expressions should have a single space inside each brace.
Tron.pb.swift 483 Closure expressions should have a single space inside each brace.
Tron.pb.swift 487 Closure expressions should have a single space inside each brace.
Tron.pb.swift 488 Closure expressions should have a single space inside each brace.
Tron.pb.swift 491 Closure expressions should have a single space inside each brace.
Tron.pb.swift 493 Closure expressions should have a single space inside each brace.
Tron.pb.swift 496 Closure expressions should have a single space inside each brace.
Tron.pb.swift 497 Closure expressions should have a single space inside each brace.
Tron.pb.swift 526 Closure expressions should have a single space inside each brace.
Tron.pb.swift 527 Closure expressions should have a single space inside each brace.
Tron.pb.swift 532 Closure expressions should have a single space inside each brace.
Tron.pb.swift 533 Closure expressions should have a single space inside each brace.
Tron.pb.swift 536 Closure expressions should have a single space inside each brace.
Tron.pb.swift 538 Closure expressions should have a single space inside each brace.
Tron.pb.swift 541 Closure expressions should have a single space inside each brace.
Tron.pb.swift 542 Closure expressions should have a single space inside each brace.
Tron.pb.swift 547 Closure expressions should have a single space inside each brace.
Tron.pb.swift 548 Closure expressions should have a single space inside each brace.
Tron.pb.swift 552 Closure expressions should have a single space inside each brace.
Tron.pb.swift 553 Closure expressions should have a single space inside each brace.
Tron.pb.swift 557 Closure expressions should have a single space inside each brace.
Tron.pb.swift 558 Closure expressions should have a single space inside each brace.
Tron.pb.swift 579 Closure expressions should have a single space inside each brace.
Tron.pb.swift 580 Closure expressions should have a single space inside each brace.
Tron.pb.swift 583 Closure expressions should have a single space inside each brace.
Tron.pb.swift 585 Closure expressions should have a single space inside each brace.
Tron.pb.swift 588 Closure expressions should have a single space inside each brace.
Tron.pb.swift 589 Closure expressions should have a single space inside each brace.
Tron.pb.swift 605 Closure expressions should have a single space inside each brace.
Tron.pb.swift 606 Closure expressions should have a single space inside each brace.
Tron.pb.swift 609 Closure expressions should have a single space inside each brace.
Tron.pb.swift 611 Closure expressions should have a single space inside each brace.
Tron.pb.swift 686 Closure expressions should have a single space inside each brace.
Tron.pb.swift 687 Closure expressions should have a single space inside each brace.
Tron.pb.swift 690 Closure expressions should have a single space inside each brace.
Tron.pb.swift 692 Closure expressions should have a single space inside each brace.
Tron.pb.swift 695 Closure expressions should have a single space inside each brace.
Tron.pb.swift 696 Closure expressions should have a single space inside each brace.
Tron.pb.swift 764 Closure expressions should have a single space inside each brace.
Tron.pb.swift 765 Closure expressions should have a single space inside each brace.
Tron.pb.swift 768 Closure expressions should have a single space inside each brace.
Tron.pb.swift 770 Closure expressions should have a single space inside each brace.
Tron.pb.swift 774 Closure expressions should have a single space inside each brace.
Tron.pb.swift 775 Closure expressions should have a single space inside each brace.
Tron.pb.swift 779 Closure expressions should have a single space inside each brace.
Tron.pb.swift 780 Closure expressions should have a single space inside each brace.
Tron.pb.swift 791 Closure expressions should have a single space inside each brace.
Tron.pb.swift 792 Closure expressions should have a single space inside each brace.
Tron.pb.swift 796 Closure expressions should have a single space inside each brace.
Tron.pb.swift 797 Closure expressions should have a single space inside each brace.
Tron.pb.swift 800 Closure expressions should have a single space inside each brace.
Tron.pb.swift 802 Closure expressions should have a single space inside each brace.
Tron.pb.swift 805 Closure expressions should have a single space inside each brace.
Tron.pb.swift 806 Closure expressions should have a single space inside each brace.
Tron.pb.swift 810 Closure expressions should have a single space inside each brace.
Tron.pb.swift 811 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1091 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1092 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1096 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1097 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1101 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1102 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1106 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1107 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1111 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1112 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1116 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1117 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1121 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1122 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1125 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1127 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1130 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1131 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1135 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1136 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1140 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1141 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1145 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1146 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1150 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1151 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1235 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1236 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1239 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1241 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1244 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1245 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1261 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1262 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1265 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1267 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1270 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1271 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1314 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1315 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1319 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1320 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1323 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1325 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1586 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1587 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1591 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1592 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1596 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1597 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1600 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1602 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1605 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1606 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1610 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1611 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1615 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1616 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1620 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1621 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1829 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1830 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1831 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1864 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1865 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1866 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1924 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1925 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1926 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1927 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1928 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1929 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1930 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1931 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1998 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1999 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2000 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2001 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2002 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2003 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2004 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2005 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2033 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2034 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2067 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2068 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2069 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2293 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2294 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2295 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2296 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2297 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2298 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2299 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2300 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2301 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2302 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2303 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2304 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2305 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2306 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2307 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2308 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2309 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2310 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2311 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2312 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2313 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2314 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2315 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2316 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2317 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2320 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2322 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2355 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2356 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2357 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2448 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2449 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2450 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2451 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2452 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2453 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2456 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2458 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2521 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2522 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2525 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2527 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2583 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2586 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2588 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2656 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2657 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2658 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2659 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2660 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2661 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2662 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2663 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2664 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2665 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2703 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2704 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2705 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2706 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2739 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2740 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2741 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2804 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2805 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2808 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2810 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2848 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2849 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2850 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2851 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2879 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2880 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2938 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2939 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2940 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2941 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2942 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2943 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2944 Closure expressions should have a single space inside each brace.
Tron.pb.swift 2945 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3015 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3016 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3017 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3020 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3022 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3099 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3100 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3101 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3102 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3105 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3107 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3188 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3189 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3190 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3191 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3192 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3193 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3292 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3293 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3294 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3295 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3296 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3297 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3298 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3299 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3300 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3301 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3302 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3435 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3436 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3437 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3438 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3439 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3440 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3441 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3442 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3443 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3444 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3445 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3446 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3449 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3451 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3496 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3497 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3498 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3499 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3527 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3528 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3591 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3592 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3595 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3597 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3660 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3661 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3664 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3666 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3724 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3725 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3726 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3727 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3728 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3729 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3730 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3731 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3794 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3795 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3798 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3800 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3833 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3834 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3835 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3868 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3869 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3870 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3903 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3904 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3905 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3946 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3947 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3948 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3981 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3982 Closure expressions should have a single space inside each brace.
Tron.pb.swift 3983 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4033 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4034 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4035 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4036 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4037 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4074 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4075 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4103 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4104 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4202 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4203 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4204 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4205 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4206 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4207 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4208 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4211 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4213 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4241 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4242 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4305 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4306 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4307 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4308 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4309 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4310 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4311 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4312 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4313 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4371 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4372 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4373 Closure expressions should have a single space inside each brace.
Tron.pb.swift 4374 Closure expressions should have a single space inside each brace.
Tron.pb.swift 1 Header comments should be consistent with project patterns.
Tron.pb.swift 17 Prefer private over fileprivate declarations.
Tron.pb.swift 1762 Prefer private over fileprivate declarations.
Tron.pb.swift 2128 Initializing an optional variable with nil is redundant.
Tron.pb.swift 2375 Initializing an optional variable with nil is redundant.
Tron.pb.swift 2471 Initializing an optional variable with nil is redundant.
Tron.pb.swift 2539 Initializing an optional variable with nil is redundant.
Tron.pb.swift 2754 Initializing an optional variable with nil is redundant.
Tron.pb.swift 2959 Initializing an optional variable with nil is redundant.
Tron.pb.swift 3038 Initializing an optional variable with nil is redundant.
Tron.pb.swift 3331 Initializing an optional variable with nil is redundant.
Tron.pb.swift 3541 Initializing an optional variable with nil is redundant.
Tron.pb.swift 3610 Initializing an optional variable with nil is redundant.
Tron.pb.swift 3745 Initializing an optional variable with nil is redundant.
Tron.pb.swift 4124 Initializing an optional variable with nil is redundant.
Tron.pb.swift 1828 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 1863 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 1923 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 1997 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 2032 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 2066 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 2288 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 2354 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 2443 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 2516 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 2578 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 2655 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 2702 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 2738 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 2799 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 2847 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 2878 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 2937 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3010 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3094 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3187 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3291 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3430 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3495 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3526 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3586 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3655 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3723 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3789 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3832 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3867 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3902 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3945 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 3980 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 4032 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 4073 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 4102 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 4197 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 4240 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 4304 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 4370 Operators should be surrounded by a single whitespace when defining them.
Tron.pb.swift 236 Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>.
Tron.pb.swift 386 Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>.
Tron.pb.swift 455 Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>.
Tron.pb.swift 465 Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>.
Tron.pb.swift 2110 Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>.
Tron.pb.swift 2122 Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>.
Tron.pb.swift 2124 Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>.

Errors

File Line Reason
Tron.pb.swift 4377 File should contain 600 lines or less: currently contains 4377

Generated by 🚫 Danger

@@ -0,0 +1,4377 @@
// DO NOT EDIT.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we include the original protobuf file and a script to generate this instead?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated README.md to include the steps

import Foundation

extension Data {
public func toString() -> String {
Copy link
Contributor

@alejandro-isaza alejandro-isaza Sep 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think these extensions are useful. They don't provide any extra clarity on use and introduce an unexpected side effect of returning empty string on error.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes they are redundant, will remove them, cheers.

}
}

extension String {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

}

public mutating func addSignature(_ signature: Data) {
self.signature.append(signature)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self is redundant here.

}

extension TronTransaction.RawData {
public mutating func toData() -> Data {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this should be mutating, we should return a copy of the data.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense, will fix it.

@alejandro-isaza
Copy link
Contributor

Please exclude Tron.pb.swift from linting in .swiftlint.yml

@johnnynanjiang johnnynanjiang deleted the tron-transaction-signing branch September 16, 2018 00:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants