From 57ab6030758fbeaee8bb685c925e9777c63b727a Mon Sep 17 00:00:00 2001 From: jk Date: Tue, 10 Nov 2020 16:51:50 +0100 Subject: [PATCH] fix transfer sending --- package.json | 2 +- src/renderer/components/ui/sendMoneySeparate/SendMoneyMain.js | 2 +- src/renderer/zbay/messages.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0cbcf4413..946d101ba 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ }, "homepage": "https://gitlab.rumblefishdev.com/holmes/zbay", "@comment version": "To build new version for specific platform, just replace platform in version tag to one of following linux, mac, windows", - "version": "3.0.2-zbay-lite", + "version": "2.2.0-zbay-lite", "description": "Distributed goods and bulletin board", "main": "dist/main.js", "scripts": { diff --git a/src/renderer/components/ui/sendMoneySeparate/SendMoneyMain.js b/src/renderer/components/ui/sendMoneySeparate/SendMoneyMain.js index 1aae4e653..dc139270a 100644 --- a/src/renderer/components/ui/sendMoneySeparate/SendMoneyMain.js +++ b/src/renderer/components/ui/sendMoneySeparate/SendMoneyMain.js @@ -42,7 +42,7 @@ export const formSchema = users => { value ) { return getBytesSize(value) <= MESSAGE_SIZE - }).required('Required') + }) }, ['recipient', 'amountZec', 'amoundUsd', 'memo'] ) diff --git a/src/renderer/zbay/messages.js b/src/renderer/zbay/messages.js index ba70713c9..2f6b9182a 100644 --- a/src/renderer/zbay/messages.js +++ b/src/renderer/zbay/messages.js @@ -393,7 +393,7 @@ export const createTransfer = (values) => { sender: values.sender, receiver: values.receiver, createdAt: DateTime.utc().toSeconds(), - memo: memo || '', + memo: memo || 'TRASNFER', spent: values.amountZec } }