Add TODO for omni parsing

This commit is contained in:
Martin Boehm 2019-03-21 11:13:42 +01:00
parent df952ffb05
commit 6ac14f163a
2 changed files with 5 additions and 0 deletions

View File

@ -124,6 +124,9 @@ func TryParseOPReturn(script []byte) string {
data = script[2:]
}
if l == len(data) {
// TODO try parse OMNI
isASCII := true
for _, c := range data {
if c < 32 || c > 127 {

View File

@ -215,6 +215,8 @@ func TestGetAddressesFromAddrDesc(t *testing.T) {
want2: false,
wantErr: false,
},
// TODO test case for omni
}
parser := NewBitcoinParser(GetChainParams("main"), &Configuration{})