helium / blockchain-core

Apache License 2.0
213 stars 86 forks source link

Fix badly formed 'endif' #1235

Closed macpie closed 2 years ago

macpie commented 2 years ago

Fix for

===> Compiling _build/default/lib/blockchain/src/transactions/v2/blockchain_txn_assert_location_v2.erl failed
_build/default/lib/blockchain/src/transactions/v2/blockchain_txn_assert_location_v2.erl:11:1: badly formed 'endif'
_build/default/lib/blockchain/src/transactions/v2/blockchain_txn_assert_location_v2.erl:705:1: unterminated '-ifdef'

when running ./rebar3 as test compile

jeffgrunewald commented 2 years ago

looks like it's just missing a period; wouldn't this crash something in the tests in that module if that header needs to be referenced or is that an old include that's not used anymore?

macpie commented 2 years ago

looks like it's just missing a period; wouldn't this crash something in the tests in that module if that header needs to be referenced or is that an old include that's not used anymore?

Could not see the dot thing thanks but then I realized that CT is not needed in there I ran the test without it fine.