import { NanoPow } from 'nano-pow'
import { Account } from './account'
import { Blake2b } from './blake2b'
-import { BURN_ADDRESS, PREAMBLE, DIFFICULTY_RECEIVE, DIFFICULTY_SEND } from './constants'
+import { BURN_PUBLIC_KEY, PREAMBLE, DIFFICULTY_RECEIVE, DIFFICULTY_SEND, UNITS } from './constants'
import { bytes, dec, hex } from './convert'
import { NanoNaCl } from './nano-nacl'
import { Rpc } from './rpc'
}
try {
this.subtype = 'change'
- this.link = hex.toBytes(Account.import(BURN_ADDRESS).publicKey)
+ this.link = hex.toBytes(BURN_PUBLIC_KEY)
+
return this
} catch (err) {
this.subtype = undefined