Do not unnecessarily send whole ack

This commit is contained in:
Daniel Lugo 2021-09-13 10:21:18 -04:00
parent 773d6f5e22
commit c055c2fc03

View file

@ -179,7 +179,9 @@ const handleMsg = msg => {
node.put(msg.data, ack => {
/** @type {Smith.GunMsgPut} */
const reply = {
ack,
ack: {
err: ack.err
},
id: msg.id,
path: msg.path,
type: 'put'