Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian 12 build failure #77

Open
mboyd1 opened this issue Aug 28, 2024 · 1 comment
Open

debian 12 build failure #77

mboyd1 opened this issue Aug 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mboyd1
Copy link

mboyd1 commented Aug 28, 2024

 Building into ../../build
MSBuild version 17.3.4+a400405ba for .NET
  Determining projects to restore...
  Restored /home/miningcore/miningcore-xiaolin1579/src/Miningcore/Miningcore.csproj (in 32.28 sec).
CSC : warning CS2002: Source file '/home/miningcore/miningcore-xiaolin1579/src/Miningcore/Crypto/Hashing/Algorithms/CpuPower.cs' specified multiple times [/home/miningcore/miningcore-xiaolin1579/src/Miningcore/Miningcore.csproj]
CSC : warning CS2002: Source file '/home/miningcore/miningcore-xiaolin1579/src/Miningcore/Crypto/Hashing/Algorithms/Minotaurx.cs' specified multiple times [/home/miningcore/miningcore-xiaolin1579/src/Miningcore/Miningcore.csproj]
/home/miningcore/miningcore-xiaolin1579/src/Miningcore/Blockchain/Ethereum/EthereumPayoutHandler.cs(505,13): error CS0152: The switch statement contains multiple cases with the label value '622279' [/home/miningcore/miningcore-xiaolin1579/src/Miningcore/Miningcore.csproj]

seems related to ethereum payout handling, is there a way I can just disable ethereum support to get the build past this error? or otherwise resolve this build failure..

@mboyd1 mboyd1 added the bug Something isn't working label Aug 28, 2024
@mboyd1
Copy link
Author

mboyd1 commented Aug 28, 2024

I just removed the whole case switch section in EthereumPayoutHandler.cs that it was complaining about starting at line 505, and was able to build. I don't need ethereum support for this use case so that works for me for now. ETH is proof-of-stake now anyway, but maybe some people need this code still for ETH classic or something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant