Fix read_contract_getter/4

This was meant to be a placeholder that I would catch and fix, but my test case never hit it! Whoops.
This commit is contained in:
Jarvis Carroll
2026-06-15 04:52:19 +00:00
parent 4302ae002c
commit cf66548443
+1 -2
View File
@@ -790,8 +790,7 @@ decode_bytearray2(FATE, {erlang, Type}) -> hz_aaci:fate_to_erlang(Type, FATE).
read_contract_getter(AACI, ConID, Fun, Args) ->
case contract(ConID) of
{ok, {}} ->
CallerID = ConID,
{ok, #{"owner_id" := CallerID}} ->
read_contract_getter(CallerID, AACI, ConID, Fun, Args);
{error, Reason} ->
{error, Reason}