On pressing confirm, the name will be registered!
`
diff --git a/qortal-ui-crypto/api/transactions/reward-share/RemoveRewardShareTransaction.js b/qortal-ui-crypto/api/transactions/reward-share/RemoveRewardShareTransaction.js
index f83a085a..c29e71d0 100644
--- a/qortal-ui-crypto/api/transactions/reward-share/RemoveRewardShareTransaction.js
+++ b/qortal-ui-crypto/api/transactions/reward-share/RemoveRewardShareTransaction.js
@@ -1,12 +1,8 @@
-
"use strict";
-
import TransactionBase from "../TransactionBase.js"
-
import publicKeyToAddress from '../../wallet/publicKeyToAddress.js'
import { Base58 } from "../../deps/deps.js";
-
export default class RemoveRewardShareTransaction extends TransactionBase {
constructor() {
super()
@@ -16,26 +12,23 @@ export default class RemoveRewardShareTransaction extends TransactionBase {
render(html) {
return html`
You are removing a reward share transaction associated with account:
-
-
${this.constructor.Base58.encode(this._recipient)}
+
+ ${this.constructor.Base58.encode(this._recipient)}
On pressing confirm, the rewardshare will be removed and the minting key will become invalid.
`
}
set rewardShareKeyPairPublicKey(rewardShareKeyPairPublicKey) {
-
this._rewardShareKeyPairPublicKey = Base58.decode(rewardShareKeyPairPublicKey)
}
set recipient(recipient) {
-
const _address = publicKeyToAddress(this._keyPair.publicKey)
this._recipient = recipient instanceof Uint8Array ? recipient : this.constructor.Base58.decode(recipient)
this.fee = _address === recipient ? 0 : 0.001
}
-
set percentageShare(share) {
this._percentageShare = share * 100
this._percentageShareBytes = this.constructor.utils.int64ToBytes(this._percentageShare)
diff --git a/qortal-ui-crypto/api/transactions/reward-share/RewardShareTransaction.js b/qortal-ui-crypto/api/transactions/reward-share/RewardShareTransaction.js
index 4af1f0a2..64e3b0c8 100644
--- a/qortal-ui-crypto/api/transactions/reward-share/RewardShareTransaction.js
+++ b/qortal-ui-crypto/api/transactions/reward-share/RewardShareTransaction.js
@@ -1,6 +1,5 @@
-import publicKeyToAddress from '../../wallet/publicKeyToAddress.js'
-
"use strict";
+import publicKeyToAddress from '../../wallet/publicKeyToAddress.js'
import TransactionBase from "../TransactionBase.js"
import nacl from '../../deps/nacl-fast.js'
import ed2curve from '../../deps/ed2curve.js'
@@ -16,8 +15,8 @@ export default class RewardShareTransaction extends TransactionBase {
return html`
Would you like to create a reward share transaction, sharing
${this._percentageShare / 1e8}% of your minting rewards with
${this.constructor.Base58.encode(this._recipient)}?
If yes, you will need to save the key below in order to mint. It can be supplied to any node in order to allow it to mint on your behalf.
-
-
${this._base58RewardShareSeed}
+
+ ${this._base58RewardShareSeed}
On pressing confirm, the rewardshare will be created, but you will still need to supply the above key to a node in order to mint with the account.
`