Skip to content

Commit fe58aca

Browse files
committed
cleanup
1 parent 10f0e02 commit fe58aca

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

server/asset/eth/coiner.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ type baseCoin struct {
3535
type swapCoin struct {
3636
*baseCoin
3737
dexAtoms uint64
38-
evmVal *big.Int
3938
init *dexeth.Initiation
4039
}
4140

@@ -68,7 +67,6 @@ func (be *AssetBackend) newSwapCoin(coinID []byte, contractData []byte) (*swapCo
6867
return nil, fmt.Errorf("tx %v does not contain initiation with secret hash %x", bc.txHash, bc.secretHash)
6968
}
7069

71-
evmVal := new(big.Int)
7270
if be.assetID == BipID {
7371
sum := new(big.Int)
7472
for _, in := range inits {
@@ -82,7 +80,6 @@ func (be *AssetBackend) newSwapCoin(coinID []byte, contractData []byte) (*swapCo
8280
return &swapCoin{
8381
baseCoin: bc,
8482
init: init,
85-
evmVal: evmVal,
8683
dexAtoms: be.atomize(init.Value),
8784
}, nil
8885
}

0 commit comments

Comments
 (0)