WIP
This commit is contained in:
parent
c03a2d1f41
commit
fb358d5e9a
@ -717,8 +717,8 @@ spend2(#poa{id = ID, name = Name}, Nonce, State = #s{frame = Frame, j = J}) ->
|
||||
|
||||
Style = [{style, ?wxSL_HORIZONTAL bor ?wxSL_LABELS}],
|
||||
Preset = 1_000,
|
||||
Min = 1,
|
||||
Max = 1_000_000_000,
|
||||
Min = hz:min_gas_price(),
|
||||
Max = Min * 2,
|
||||
GasSl = wxSlider:new(Dialog, ?wxID_ANY, Preset, Min, Max, Style),
|
||||
GasSz = wxStaticBoxSizer:new(?wxVERTICAL, Dialog, [{label, J("Gas Price")}]),
|
||||
_ = wxStaticBoxSizer:add(GasSz, GasSl, zxw:flags(wide)),
|
||||
@ -748,7 +748,7 @@ spend2(#poa{id = ID, name = Name}, Nonce, State = #s{frame = Frame, j = J}) ->
|
||||
amount = wxTextCtrl:getValue(AmtTx),
|
||||
gas_price = wxSlider:getValue(GasSl),
|
||||
gas = 20000,
|
||||
ttl = 175320,
|
||||
ttl = 1,
|
||||
nonce = Nonce,
|
||||
payload = wxTextCtrl:getValue(DataTx)},
|
||||
clean_spend(ID, TX);
|
||||
|
Loading…
x
Reference in New Issue
Block a user