mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-03 07:26:45 +00:00
Assets: Fix LinearContracts support (#1724)
* Assets: Fix LinearContracts support
* Assets: Fix False positives with IsValid
supportedFlag&a is true for every even number, making the test pretty
close to meaningless.
[This
fix](5b33bc5324)
was a viable fix maintaining bit shifted iota, but there's no benefit to
it at all.
Simplifying.
This commit is contained in:
@@ -55,7 +55,7 @@ func TestSubmit_Validate(t *testing.T) {
|
||||
Submit: &Submit{
|
||||
Exchange: "test",
|
||||
Pair: testPair,
|
||||
AssetType: 255,
|
||||
AssetType: asset.All,
|
||||
},
|
||||
}, // valid pair but invalid asset
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user