decred / vspd

A Voting Service Provider (VSP) for the Decred network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use standalone.CheckTransactionSanity when new module is released.

davecgh opened this issue · comments

The following will need to be updated once a new version of the blockchain/standalone module is released since the blockchain package will eventually be moving internal.

err = blockchain.CheckTransactionSanity(feeTx, s.cfg.NetParams)

- err = blockchain.CheckTransactionSanity(feeTx, s.cfg.NetParams) 
+ err = standalone.CheckTransactionSanity(feeTx, s.cfg.NetParams.MaxTxSize) 

The blockchain/standalone has way less dependencies which is a nice benefit as well.