aceat64/EasyBitcoin-PHP

why incementing id?

mo29cg opened this issue · 1 comments

  // The ID should be unique for each call
        $this->id++;

why do you need this?
if id is always 0, and not unique for each call, what will happen?
when I checked with some commands, it seemed fine.

sorry for my english.

It's just part of the JSON RPC spec. It may not be strictly necessary, but it's easy enough to do.