Skip to content

Commit

Permalink
build: use types.StandardAddress()
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjan committed Oct 10, 2023
1 parent 5acd351 commit 33208d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/network_testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ func Network() (*consensus.Network, types.Block) {
n.HardforkASIC.OakTarget = types.BlockID{255, 255}

n.HardforkFoundation.Height = 50
n.HardforkFoundation.PrimaryAddress = types.GeneratePrivateKey().PublicKey().StandardAddress()
n.HardforkFoundation.FailsafeAddress = types.GeneratePrivateKey().PublicKey().StandardAddress()
n.HardforkFoundation.PrimaryAddress = types.StandardAddress(types.GeneratePrivateKey().PublicKey())
n.HardforkFoundation.FailsafeAddress = types.StandardAddress(types.GeneratePrivateKey().PublicKey())
return n, types.Block{
Transactions: []types.Transaction{
{
Expand Down

0 comments on commit 33208d9

Please sign in to comment.