Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Error during UpdateJob - Equihash #1685

Open
PostalPanda opened this issue May 7, 2023 · 0 comments
Open

Error during UpdateJob - Equihash #1685

PostalPanda opened this issue May 7, 2023 · 0 comments

Comments

@PostalPanda
Copy link

[2023-05-07 21:39:21.6039] [E] [zec] Error during UpdateJob System.MissingMethodException: Method not found: 'Void NBitcoin.BitcoinStream.ReadWrite(!!0 ByRef)'.
   at NBitcoin.Zcash.ZcashTransaction.ReadWrite(BitcoinStream stream)
   at NBitcoin.BitcoinStream.ReadWrite[T](T& data)
   at Miningcore.Blockchain.Equihash.EquihashJob.BuildCoinbase() in /home/miningcore/miningcore/src/Miningcore/Blockchain/Equihash/EquihashJob.cs:line 167
   at Miningcore.Blockchain.Equihash.EquihashJob.Init(EquihashBlockTemplate blockTemplate, String jobId, PoolConfig poolConfig, ClusterConfig clusterConfig, IMasterClock clock, IDestination poolAddressDestination, Network network, EquihashSolver solver) in /home/miningcore/miningcore/src/Miningcore/Blockchain/Equihash/EquihashJob.cs:line 403
   at Miningcore.Blockchain.Equihash.EquihashJobManager.UpdateJob(CancellationToken ct, Boolean forceUpdate, String via, String json) in /home/miningcore/miningcore/src/Miningcore/Blockchain/Equihash/EquihashJobManager.cs:line 126    at NBitcoin.Zcash.ZcashTransaction.ReadWrite(BitcoinStream stream)
   at NBitcoin.BitcoinStream.ReadWrite[T](T& data)
   at Miningcore.Blockchain.Equihash.EquihashJob.BuildCoinbase() in /home/miningcore/miningcore/src/Miningcore/Blockchain/Equihash/EquihashJob.cs:line 167
   at Miningcore.Blockchain.Equihash.EquihashJob.Init(EquihashBlockTemplate blockTemplate, String jobId, PoolConfig poolConfig, ClusterConfig clusterConfig, IMasterClock clock, IDestination poolAddressDestination, Network network, EquihashSolver solver) in /home/miningcore/miningcore/src/Miningcore/Blockchain/Equihash/EquihashJob.cs:line 403
   at Miningcore.Blockchain.Equihash.EquihashJobManager.UpdateJob(CancellationToken ct, Boolean forceUpdate, String via, String json) in /home/miningcore/miningcore/src/Miningcore/Blockchain/Equihash/EquihashJobManager.cs:line 126

I have checked that NBitcoin is installed and that it is the correct version, rebuilt with dotnet after removing obj and bin, and I can not seem to figure out why it's throwing this error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant