Skip to content

Commit

Permalink
[vms/platformvm] RegisterDUnsignedTxsTypes -> `RegisterDurangoUnsig…
Browse files Browse the repository at this point in the history
…nedTxsTypes` (#3212)
  • Loading branch information
dhrubabasu authored Jul 22, 2024
1 parent 4929986 commit 6750e30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vms/platformvm/block/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func init() {
RegisterApricotBlockTypes(c),
txs.RegisterUnsignedTxsTypes(c),
RegisterBanffBlockTypes(c),
txs.RegisterDUnsignedTxsTypes(c),
txs.RegisterDurangoUnsignedTxsTypes(c),
)
}

Expand Down
4 changes: 2 additions & 2 deletions vms/platformvm/txs/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func init() {

c.SkipRegistrations(4)

errs.Add(RegisterDUnsignedTxsTypes(c))
errs.Add(RegisterDurangoUnsignedTxsTypes(c))
}

Codec = codec.NewDefaultManager()
Expand Down Expand Up @@ -103,7 +103,7 @@ func RegisterUnsignedTxsTypes(targetCodec linearcodec.Codec) error {
return errs.Err
}

func RegisterDUnsignedTxsTypes(targetCodec linearcodec.Codec) error {
func RegisterDurangoUnsignedTxsTypes(targetCodec linearcodec.Codec) error {
return errors.Join(
targetCodec.RegisterType(&TransferSubnetOwnershipTx{}),
targetCodec.RegisterType(&BaseTx{}),
Expand Down

0 comments on commit 6750e30

Please sign in to comment.