Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
joroshiba committed Dec 1, 2023
1 parent 8d9bd15 commit ecf0a03
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions internal/chain/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package chain
import (
"context"
"crypto/ed25519"
"crypto/sha256"
"encoding/binary"
"math/big"

Expand All @@ -15,12 +14,6 @@ import (
"github.com/ethereum/go-ethereum/common"
)

const DEFAULT_ASTRIA_ASSET = "nria"

var (
DefaultAstriaAssetID = sha256.Sum256([]byte(DEFAULT_ASTRIA_ASSET))
)

type TxBuilder interface {
Sender() common.Address
Transfer(ctx context.Context, to string, value *big.Int) (bytes.HexBytes, error)
Expand Down Expand Up @@ -77,7 +70,7 @@ func (b *TxBuild) Transfer(ctx context.Context, to string, value *big.Int) (byte
Lo: leastSignificant64,
Hi: mostSignificant64,
},
AssetId: DefaultAstriaAssetID[:],
AssetId: client.DefaultAstriaAssetID[:],
},
},
},
Expand Down

0 comments on commit ecf0a03

Please sign in to comment.