pull/402/head
Minh Doan 6 years ago
parent 0fb2a43315
commit badcd47468
  1. 2
      cmd/harmony.go
  2. 1
      node/contract.go
  3. 1
      node/node.go

@ -246,7 +246,7 @@ func main() {
if consensus.IsLeader {
currentNode.State = node.NodeLeader
} else {
// go currentNode.JoinShard(leader)
go currentNode.JoinShard(leader)
}
}

@ -14,6 +14,7 @@ import (
"github.com/harmony-one/harmony/internal/utils/contract"
)
// Constants related to smart contract.
const (
FaucetContractBinary = "0x6080604052678ac7230489e8000060015560028054600160a060020a031916331790556101aa806100316000396000f3fe608060405260043610610045577c0100000000000000000000000000000000000000000000000000000000600035046327c78c42811461004a5780634ddd108a1461008c575b600080fd5b34801561005657600080fd5b5061008a6004803603602081101561006d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166100b3565b005b34801561009857600080fd5b506100a1610179565b60408051918252519081900360200190f35b60025473ffffffffffffffffffffffffffffffffffffffff1633146100d757600080fd5b600154303110156100e757600080fd5b73ffffffffffffffffffffffffffffffffffffffff811660009081526020819052604090205460ff161561011a57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8116600081815260208190526040808220805460ff1916600190811790915554905181156108fc0292818181858888f19350505050158015610175573d6000803e3d6000fd5b5050565b30319056fea165627a7a723058203e799228fee2fa7c5d15e71c04267a0cc2687c5eff3b48b98f21f355e1064ab30029"
FaucetContractFund = 8000000

@ -95,6 +95,7 @@ const (
inSyncThreshold = 1
)
// TotalInitFund is the initial total fund to the faucet.
const TotalInitFund = 9000000
const (

Loading…
Cancel
Save