Onyx-Protocol / Onyx

Onyx

Home Page:https://Onyx.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

\u0000 in reference data causes database error

danrobinson opened this issue · comments

Submitting a transaction with reference data that contains the sequence \u0000 causes cored to enter an infinite loop printing the following error:

/Users/danielrobinson/Projects/go/src/chain/core/query/index.go:137 - chain/core/query.(*Indexer).insertAnnotatedTxs
/Users/danielrobinson/Projects/go/src/chain/core/query/index.go:69 - chain/core/query.(*Indexer).IndexTransactions
/Users/danielrobinson/Projects/go/src/chain/core/query/index.go:55 - chain/core/query.(*Indexer).IndexTransactions-fm
/Users/danielrobinson/Projects/go/src/chain/core/pin/pin.go:214 - chain/core/pin.(*pin).processBlock
/usr/local/Cellar/go/1.8/libexec/src/runtime/asm_amd64.s:2197 - runtime.goexit

Fixed in #1240.