diff --git a/src/hanoidb_writer.erl b/src/hanoidb_writer.erl index 5525c6b..068a679 100644 --- a/src/hanoidb_writer.erl +++ b/src/hanoidb_writer.erl @@ -254,7 +254,7 @@ append_node(Level, Key, Value, #state{ nodes=[ #node{level=Level, members=List, end; _ -> {TC, VC} - end, + end, NodeMembers = [{Key, Value} | List], State2 = State#state{ nodes=[CurrNode#node{members=NodeMembers, size=NewSize} | RestNodes],