diff --git a/smart-contracts/contracts/NilAwaitable.sol b/smart-contracts/contracts/NilAwaitable.sol index e97761987..3b426cd3c 100644 --- a/smart-contracts/contracts/NilAwaitable.sol +++ b/smart-contracts/contracts/NilAwaitable.sol @@ -10,7 +10,6 @@ contract NilAwaitable is NilBase { struct Awaiter { function(bool, bytes memory, bytes memory) internal callback; - uint answer_id; bool active; bytes context; } @@ -63,7 +62,7 @@ contract NilAwaitable is NilBase { function(bool, bytes memory, bytes memory) internal cb ) internal { ctrl.await_id += 1; - ctrl.awaiters[ctrl.await_id] = Awaiter({callback: cb, answer_id: ctrl.await_id, active: true, context: context}); + ctrl.awaiters[ctrl.await_id] = Awaiter({callback: cb, active: true, context: context}); __Precompile__(address(Nil.ASYNC_CALL)).precompileAsyncCall{value: value}(false, Nil.FORWARD_REMAINING, dst, zeroAddress, zeroAddress, 0, tokens, callData, ctrl.await_id, responseProcessingGas); }