You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run make migrate-contracts successfully,but when I use make start , it returns:
ubuntu@ip-172-31-15-69:~/gocode/src/github.com/kyokan/drawbridge$ make start
make[1]: Entering directory '/home/ubuntu/gocode/src/github.com/kyokan/drawbridge/solidity'
truffle compile
make[1]: Leaving directory '/home/ubuntu/gocode/src/github.com/kyokan/drawbridge/solidity'
go build -o build/extract-abi ./cmd/extract_abi.go
mkdir -p ./build/abi
./build/extract-abi --contracts ./solidity/build/contracts/LightningERC20.json,./solidity/build/contracts/ERC20.json --output-dir ./build/abi
2018/08/20 09:31:21 Outputted ABI file LightningERC20.json
2018/08/20 09:31:21 Outputted ABI file ERC20.json
abigen --abi ./build/abi/LightningERC20.json --pkg contracts --type LightningERC20 --out ./pkg/contracts/lighting_erc20.go
abigen --abi ./build/abi/ERC20.json --pkg contracts --type ERC20 --out ./pkg/contracts/erc20.go
go build -gcflags='-N -l' -o ./build/drawbridge ./cmd/drawbridge.go
# github.com/kyokan/drawbridge/internal/wallet
internal/wallet/commitments.go:46:40: cannot use lnwallet.ComputeCommitmentPoint(preimage[:]) (type *"github.com/lightningnetwork/lnd/vendor/github.com/btcsuite/btcd/btcec".PublicKey) as type *"github.com/btcsuite/btcd/btcec".PublicKey in return argument
# github.com/kyokan/drawbridge/internal/lndclient
internal/lndclient/client.go:61:61: cannot use mac (type *"gopkg.in/macaroon.v2".Macaroon) as type *"github.com/lightningnetwork/lnd/vendor/gopkg.in/macaroon.v2".Macaroon in argument to macaroons.NewMacaroonCredential
internal/lndclient/client.go:69:36: cannot use conn (type *"google.golang.org/grpc".ClientConn) as type *"github.com/lightningnetwork/lnd/vendor/google.golang.org/grpc".ClientConn in argument to lnrpc.NewLightningClient
# github.com/kyokan/drawbridge/internal/p2p
internal/p2p/net.go:37:15: cannot use identityKey.BTCEC() (type *"github.com/btcsuite/btcd/btcec".PublicKey) as type *"github.com/lightningnetwork/lnd/vendor/github.com/btcsuite/btcd/btcec".PublicKey in field value
internal/p2p/node.go:70:39: cannot use identityKey (type *"github.com/btcsuite/btcd/btcec".PrivateKey) as type *"github.com/lightningnetwork/lnd/vendor/github.com/btcsuite/btcd/btcec".PrivateKey in argument to brontide.NewListener
internal/p2p/node.go:88:24: cannot use identityKey (type *"github.com/btcsuite/btcd/btcec".PrivateKey) as type *"github.com/lightningnetwork/lnd/vendor/github.com/btcsuite/btcd/btcec".PrivateKey in argument to brontide.Dial
internal/p2p/node.go:166:41: cannot use addr.IdentityKey (type *"github.com/lightningnetwork/lnd/vendor/github.com/btcsuite/btcd/btcec".PublicKey) as type *"github.com/btcsuite/btcd/btcec".PublicKey in argument to "github.com/kyokan/drawbridge/pkg/crypto".PublicFromBTCEC
internal/p2p/peer.go:42:56: cannot use conn.RemotePub() (type *"github.com/lightningnetwork/lnd/vendor/github.com/btcsuite/btcd/btcec".PublicKey) as type *"github.com/btcsuite/btcd/btcec".PublicKey in argument to "github.com/kyokan/drawbridge/pkg/crypto".PublicFromBTCEC
Makefile:31: recipe for target 'compile' failed
make: *** [compile] Error 2
I update the lastest lnd for your project , is there somethig wrong ?
system conf
ubuntu@ip-172-31-15-69:~/gocode/src/github.com/kyokan/drawbridge$ uname -a
Linux ip-172-31-15-69 4.4.0-1061-aws #70-Ubuntu SMP Fri May 25 21:47:34 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ip-172-31-15-69:~/gocode/src/github.com/kyokan/drawbridge$ lnd -V
lnd version 0.4.2-beta commit=21841c9f6b065a625e5dcb68c18dfbf3ee25326b
ubuntu@ip-172-31-15-69:~/gocode/src/github.com/kyokan/drawbridge$ lncli -v
lncli version 0.4.2 commit=21841c9f6b065a625e5dcb68c18dfbf3ee25326b
ubuntu@ip-172-31-15-69:~/gocode/src/github.com/kyokan/drawbridge$ node -v
v10.8.0
ubuntu@ip-172-31-15-69:~/gocode/src/github.com/kyokan/drawbridge$ nodejs -v
v8.11.3
ubuntu@ip-172-31-15-69:~/gocode/src/github.com/kyokan/drawbridge$ truffle version
Truffle v4.1.13 (core: 4.1.13)
Solidity v0.4.24 (solc-js)
ubuntu@ip-172-31-15-69:~/gocode/src/github.com/kyokan/drawbridge$ geth version
Geth
Version: 1.8.13-stable
Git Commit: 225171a4bfcc16bd12a1906b1e0d43d0b18c353b
Architecture: amd64
Protocol Versions: [63 62]
Network Id: 1
Go Version: go1.10
Operating System: linux
GOPATH=/home/ubuntu/gocode
GOROOT=/usr/lib/go-1.10
Thank you very much
The text was updated successfully, but these errors were encountered:
Description
I run
make migrate-contracts
successfully,but when I usemake start
, it returns:I update the lastest lnd for your project , is there somethig wrong ?
system conf
Thank you very much
The text was updated successfully, but these errors were encountered: