File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ func ({{$contract.ShortVar}} *{{$contract.Class}}) {{$method.CapsName}}(
1313 {{$logger }}.Debug (
1414 " submitting transaction {{$method.LowerName}}" ,
1515 {{if $method .Params -}}
16- " params: " ,
16+ " params: " ,
1717 fmt.Sprint (
1818 {{$method .Params }}
1919 ),
2020 {{end -}}
2121 {{if $method .Payable -}}
22- " value: " , value,
22+ " value: " , value,
2323 {{- end }}
2424 )
2525
@@ -68,8 +68,8 @@ func ({{$contract.ShortVar}} *{{$contract.Class}}) {{$method.CapsName}}(
6868 }
6969
7070 {{$logger }}.Infof (
71- " submitted transaction {{$method.LowerName}} with id: [%v ] and nonce [%v ]" ,
72- transaction.Hash ().Hex () ,
71+ " submitted transaction {{$method.LowerName}} with id: [%s ] and nonce [%v ]" ,
72+ transaction.Hash (),
7373 transaction.Nonce (),
7474 )
7575
@@ -101,8 +101,8 @@ func ({{$contract.ShortVar}} *{{$contract.Class}}) {{$method.CapsName}}(
101101 }
102102
103103 {{$logger }}.Infof (
104- " submitted transaction {{$method.LowerName}} with id: [%v ] and nonce [%v ]" ,
105- transaction.Hash ().Hex () ,
104+ " submitted transaction {{$method.LowerName}} with id: [%s ] and nonce [%v ]" ,
105+ transaction.Hash (),
106106 transaction.Nonce (),
107107 )
108108
Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ func ({{$contract.ShortVar}} *{{$contract.Class}}) {{$method.CapsName}}(
1616 {{$logger}}.Debug(
1717 "submitting transaction {{$method.LowerName}}",
1818 {{if $method.Params -}}
19- "params: ",
19+ " params: ",
2020 fmt.Sprint(
2121 {{$method.Params}}
2222 ),
2323 {{end -}}
2424 {{if $method.Payable -}}
25- "value: ", value,
25+ " value: ", value,
2626 {{- end}}
2727 )
2828
@@ -71,8 +71,8 @@ func ({{$contract.ShortVar}} *{{$contract.Class}}) {{$method.CapsName}}(
7171 }
7272
7373 {{$logger}}.Infof(
74- "submitted transaction {{$method.LowerName}} with id: [%v ] and nonce [%v]",
75- transaction.Hash().Hex() ,
74+ "submitted transaction {{$method.LowerName}} with id: [%s ] and nonce [%v]",
75+ transaction.Hash(),
7676 transaction.Nonce(),
7777 )
7878
@@ -104,8 +104,8 @@ func ({{$contract.ShortVar}} *{{$contract.Class}}) {{$method.CapsName}}(
104104 }
105105
106106 {{$logger}}.Infof(
107- "submitted transaction {{$method.LowerName}} with id: [%v ] and nonce [%v]",
108- transaction.Hash().Hex() ,
107+ "submitted transaction {{$method.LowerName}} with id: [%s ] and nonce [%v]",
108+ transaction.Hash(),
109109 transaction.Nonce(),
110110 )
111111
You can’t perform that action at this time.
0 commit comments