diff --git a/go.mod b/go.mod index 5af874708..e48412ded 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/manifoldco/promptui v0.9.0 github.com/onflow/cadence v0.24.6 github.com/onflow/cadence/languageserver v0.24.0 - github.com/onflow/fcl-dev-wallet v0.4.5 + github.com/onflow/fcl-dev-wallet v0.4.6 github.com/onflow/flow-cli/pkg/flowkit v0.0.0 github.com/onflow/flow-emulator v0.33.3 github.com/onflow/flow-go-sdk v0.26.4 diff --git a/go.sum b/go.sum index c3bfa3af0..ea47429a2 100644 --- a/go.sum +++ b/go.sum @@ -596,8 +596,8 @@ github.com/onflow/cadence v0.24.6 h1:8iBoU42+R4m/hWwEEW1N5BGndmOFu3EtEyBXO5mO5II github.com/onflow/cadence v0.24.6/go.mod h1:tIJiQ4RIq1WUTXdBewv8p+gNUETN93Eb7jSFedjqs5w= github.com/onflow/cadence/languageserver v0.24.0 h1:LufBiLHJt9LmWhVVpxaLHO/yRvVsPNpKKEdo6ykyB/U= github.com/onflow/cadence/languageserver v0.24.0/go.mod h1:5w1rJx0mvrto0EvWgZkbF4STuK2SggMyamwL1spTGlQ= -github.com/onflow/fcl-dev-wallet v0.4.5 h1:aIQpjy1J6FeMgke92Vb9a33F/OPt0o4pHRT2FDgDgko= -github.com/onflow/fcl-dev-wallet v0.4.5/go.mod h1:xWVEyGZgdDt4/+PLSlpuqhtzobjnWy5giceIGoErPzs= +github.com/onflow/fcl-dev-wallet v0.4.6 h1:Eaq9oPbP2TdcLDsu546BmzACux1jN2W51xzAz5T2D7k= +github.com/onflow/fcl-dev-wallet v0.4.6/go.mod h1:xWVEyGZgdDt4/+PLSlpuqhtzobjnWy5giceIGoErPzs= github.com/onflow/flow-core-contracts/lib/go/contracts v0.11.2-0.20220513155751-c4c1f8d59f83 h1:mpJirFu/JWMLV0IhKDZleVrVdN5B8QERV4gSXDef5bA= github.com/onflow/flow-core-contracts/lib/go/contracts v0.11.2-0.20220513155751-c4c1f8d59f83/go.mod h1:T6yhM+kWrFxiP6F3hh8lh9DcocHfmv48P4ITnjLhKSk= github.com/onflow/flow-core-contracts/lib/go/templates v0.11.2-0.20220513155751-c4c1f8d59f83 h1:w4uXFTvjQmLtA/X50H4YXVlzbdsoL3vDI3Y86jtJOMM= diff --git a/internal/tools/wallet.go b/internal/tools/wallet.go index eb414765f..5d9ab4952 100644 --- a/internal/tools/wallet.go +++ b/internal/tools/wallet.go @@ -64,10 +64,12 @@ func wallet( key := service.Key().ToConfig() conf := devWallet.Config{ - Address: fmt.Sprintf("0x%s", service.Address().String()), - PrivateKey: strings.TrimPrefix(key.PrivateKey.String(), "0x"), - PublicKey: strings.TrimPrefix(key.PrivateKey.PublicKey().String(), "0x"), - AccessNode: walletFlags.Host, + Address: fmt.Sprintf("0x%s", service.Address().String()), + PrivateKey: strings.TrimPrefix(key.PrivateKey.String(), "0x"), + PublicKey: strings.TrimPrefix(key.PrivateKey.PublicKey().String(), "0x"), + AccessNode: walletFlags.Host, + AccountKeyID: "0", + BaseURL: "http://localhost:8701", } srv, err := devWallet.NewHTTPServer(walletFlags.Port, &conf)