diff --git a/lib/caronte/index.js b/lib/caronte/index.js index 586ed3f60..ca3e64395 100644 --- a/lib/caronte/index.js +++ b/lib/caronte/index.js @@ -41,7 +41,7 @@ function createRightProxy(type) { !(args[cntr] instanceof Buffer) && args[cntr] !== res ) { - options = opts; + options = args[cntr]; cntr--; }