forked from Qortal/qortal-ui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
526 B
23 lines
526 B
"use strict"; |
|
import ChatBase from "./chat/ChatBase.js" |
|
|
|
export default class PublicizeTransaction extends ChatBase { |
|
constructor() { |
|
super(); |
|
this.type = 19 |
|
this.fee = 0 |
|
} |
|
|
|
set proofOfWorkNonce(proofOfWorkNonce) { |
|
this._proofOfWorkNonce = this.constructor.utils.int32ToBytes(proofOfWorkNonce) |
|
} |
|
|
|
get params() { |
|
const params = super.params; |
|
params.push( |
|
this._proofOfWorkNonce, |
|
this._feeBytes |
|
) |
|
return params; |
|
} |
|
}
|
|
|