Fix an unused variable error

parent 109cc30c
Pipeline #31589700 passed with stages
in 19 minutes and 28 seconds
......@@ -231,9 +231,7 @@ error_code_1(#account_tx{valid_until=ValidUntil, to=To, from=From}, Data=#data{h
?INVALID_TIMESTAMP
end;
error_code_1(
#lock_tx{address=Address, locked_until=LockedUntil},
#data{height=Height},
#account{locked_until=CurrentLockedUntil, valid_until=ValidUntil}) ->
#lock_tx{locked_until=LockedUntil}, #data{height=Height}, #account{locked_until=CurrentLockedUntil, valid_until=ValidUntil}) ->
case LockedUntil > Height of
true ->
case (CurrentLockedUntil =:= none orelse LockedUntil > CurrentLockedUntil) andalso LockedUntil =< ValidUntil of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment