@@ -759,7 +759,6 @@ func confirm(text string) bool {
759
759
}
760
760
761
761
func testExternalUI (api * core.SignerAPI ) {
762
-
763
762
ctx := context .WithValue (context .Background (), "remote" , "clef binary" )
764
763
ctx = context .WithValue (ctx , "scheme" , "in-proc" )
765
764
ctx = context .WithValue (ctx , "local" , "main" )
@@ -859,7 +858,6 @@ func testExternalUI(api *core.SignerAPI) {
859
858
expectDeny ("signdata - text" , err )
860
859
}
861
860
{ // Sign transaction
862
-
863
861
api .UI .ShowInfo ("Please reject next transaction" )
864
862
time .Sleep (delay )
865
863
data := hexutil .Bytes ([]byte {})
@@ -902,7 +900,6 @@ func testExternalUI(api *core.SignerAPI) {
902
900
}
903
901
result := fmt .Sprintf ("Tests completed. %d errors:\n %s\n " , len (errs ), strings .Join (errs , "\n " ))
904
902
api .UI .ShowInfo (result )
905
-
906
903
}
907
904
908
905
type encryptedSeedStorage struct {
@@ -939,7 +936,6 @@ func decryptSeed(keyjson []byte, auth string) ([]byte, error) {
939
936
940
937
// GenDoc outputs examples of all structures used in json-rpc communication
941
938
func GenDoc (ctx * cli.Context ) error {
942
-
943
939
var (
944
940
a = common .HexToAddress ("0xdeadbeef000000000000000000000000deadbeef" )
945
941
b = common .HexToAddress ("0x1111111122222222222233333333334444444444" )
@@ -1049,7 +1045,6 @@ func GenDoc(ctx *cli.Context) error {
1049
1045
var tx types.Transaction
1050
1046
tx .UnmarshalBinary (rlpdata )
1051
1047
add ("OnApproved - SignTransactionResult" , desc , & ethapi.SignTransactionResult {Raw : rlpdata , Tx : & tx })
1052
-
1053
1048
}
1054
1049
{ // User input
1055
1050
add ("UserInputRequest" , "Sent when clef needs the user to provide data. If 'password' is true, the input field should be treated accordingly (echo-free)" ,
0 commit comments