mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 11:41:48 +00:00
transaction: drop Issue TX support
This commit is contained in:
parent
f445f7c602
commit
169c5ae775
22 changed files with 8 additions and 141 deletions
|
@ -47,7 +47,6 @@ type (
|
|||
|
||||
// SystemFee fees related to system.
|
||||
SystemFee struct {
|
||||
IssueTransaction int64 `yaml:"IssueTransaction"`
|
||||
RegisterTransaction int64 `yaml:"RegisterTransaction"`
|
||||
}
|
||||
|
||||
|
@ -74,8 +73,6 @@ func (n NetMode) String() string {
|
|||
// TryGetValue returns the system fee base on transaction type.
|
||||
func (s SystemFee) TryGetValue(txType transaction.TXType) util.Fixed8 {
|
||||
switch txType {
|
||||
case transaction.IssueType:
|
||||
return util.Fixed8FromInt64(s.IssueTransaction)
|
||||
case transaction.RegisterType:
|
||||
return util.Fixed8FromInt64(s.RegisterTransaction)
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue