Unable to deploy contract on Private Quorum Network

We just built a new 3 node quorum network but we are unable to deploy any contract on it. Please find the below info: Quorum vesrsion: Geth Version: 1.8.18-stable Git Commit: b5266cbd194aaa61efd1815df87c7d9edaad118c Quorum Version: 2.4.0 Architecture: amd64 Protocol Versions: [63 62] Network Id: 1337 Go Version: go1.13.8 Operating System: linux GOPATH= GOROOT=/usr/local/go genesis.json { “alloc”:…

Why is privateKey padded before secp256k1 signing?

I am checking how the Ethereum handles signing but I can’t figure out why the math.PaddedBigBytes is necessary: func Sign(digestHash []byte, prv *ecdsa.PrivateKey) (sig []byte, err error) { if len(digestHash) != DigestLength { return nil, fmt.Errorf(“hash is required to be exactly %d bytes (%d)”, DigestLength, len(digestHash)) } seckey := math.PaddedBigBytes(prv.D, prv.Params().BitSize/8) defer zeroBytes(seckey) return secp256k1.Sign(digestHash,…

Use uint from struct in dapp

The function “customerBalanceOnContract()” returns a uint from a struct. The function “getCstValue()” add the amount on customer’s wallet to the balance in the struct (returned with function above). I am missing doing something bad with conversion of customerBalanceOnContract I assume, since the dapp shows NAN. The console.log shows the right numbers. function getCstValue(){ web3.eth.getAccounts((err, res)…