Commit 2187929
committed
fix: remove unreachable SSO-binding branch in networkCreateSeedphrase
networkCreateSeedphrase's only caller (NetworkCreate) guards entry on
networkCreate.AuthJwt == nil, so the "if AuthJwt provided, bind SSO too"
branch inside it could never execute -- dead code that also silently
swallowed a bind error via glog.Infof had it ever run, which would have
been a latent trap if the outer guard were ever loosened later.1 parent 37eb4cd commit 2187929
1 file changed
Lines changed: 0 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
892 | 892 | | |
893 | 893 | | |
894 | 894 | | |
895 | | - | |
896 | | - | |
897 | | - | |
898 | | - | |
899 | | - | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | | - | |
907 | | - | |
908 | | - | |
909 | | - | |
910 | | - | |
911 | | - | |
912 | | - | |
913 | | - | |
914 | 895 | | |
915 | 896 | | |
916 | 897 | | |
| |||
0 commit comments