refactor(trie): replace get/set
for key/value
for nodes with function
#2220
+113
−142
get/set
for key/value
for nodes with function
#2220