forked from erlang/signerl
make sure that the 'transactionID' key in the ets table exists
This commit is contained in:
parent
a6ead2ab01
commit
0f692c61b5
|
@ -62,6 +62,7 @@
|
|||
%%
|
||||
start(normal, StartArgs) ->
|
||||
ets:new(tcap_transaction, [named_table, public]),
|
||||
ets:insert(tcap_transaction, {transactionID, 0}),
|
||||
ets:new(tcap_dha, [named_table, public]),
|
||||
{ok, SupRef} = application:get_env(supref),
|
||||
supervisor:start_link(SupRef, tcap_sup, StartArgs).
|
||||
|
|
Loading…
Reference in New Issue