ethereum/ethereumj

DataWord

nevgeny opened this issue · 1 comments

I think this is so strange.

public DataWord bnot() {
if (this.isZero()) {
return new DataWord(ByteUtil.copyToArray(MAX_VALUE));
}
return new DataWord(ByteUtil.copyToArray(MAX_VALUE.subtract(this.value())));

Can we use byte array instead? I can make pr.

Please, go ahead with PR 👍 It'll help to get what your proposal exactly is.