Handle whitespace around account ID

This commit is contained in:
Craig Everett 2025-10-14 21:55:04 +09:00
parent 66a06480d5
commit cb1d879b99

View File

@ -205,7 +205,7 @@ done(State = #s{net = Network, acc = AccTx, keys = KeysTx, cores = CoresTx, memo
1 -> <<"testnet">>; 1 -> <<"testnet">>;
_ -> <<"mainnet">> _ -> <<"mainnet">>
end, end,
AccID = wxTextCtrl:getValue(AccTx), AccID = string:trim(wxTextCtrl:getValue(AccTx)),
MOAR_IDs = wxTextCtrl:getValue(KeysTx), MOAR_IDs = wxTextCtrl:getValue(KeysTx),
CoreS = wxTextCtrl:getValue(CoresTx), CoreS = wxTextCtrl:getValue(CoresTx),
GigsS = wxTextCtrl:getValue(MemTx), GigsS = wxTextCtrl:getValue(MemTx),