golemfactory / golem-electron

Graphical user interface for Golem Project

Home Page:https://golem.network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

it is possible do multiple withdrawal of the same transaction

ederenn opened this issue · comments

Encountered on:

GOLEM Version: 0.16.0+dev15.g9d56eddd8'
Protocol Version: 27'
golem_messages Version: 2.9.4'

Mac OS, Windows

During withdrawal from wallet with button "withdraw"
In first modal, with address and amount of money (ETH or GNT) it is possible to click multiple times button "Apply", without second modal with confirmation of the address

transaction is sent multiple times in row

in logs it is shown

2018-06-22 15:13:32 WARNING  golem.network.transport.tcpnetwork  b'No addresses for connection given'
2018-06-22 15:13:32 INFO     golem.pay                           b'Withdrawing 0.002000 ETH to 0x035724bD4471ceaC5594FCB0dBB2306872d4B7aB'
2018-06-22 15:13:34 INFO     golem.pay                           b'Withdrawing 0.002000 ETH to 0x035724bD4471ceaC5594FCB0dBB2306872d4B7aB'
2018-06-22 15:13:34 INFO     golem.pay                           b'Withdrawing 0.002000 ETH to 0x035724bD4471ceaC5594FCB0dBB2306872d4B7aB'
2018-06-22 15:13:35 INFO     golem.pay                           b'Withdrawing 0.002000 ETH to 0x035724bD4471ceaC5594FCB0dBB2306872d4B7aB'
2018-06-22 15:13:36 INFO     golem.pay                           b'Withdrawing 0.002000 ETH to 0x035724bD4471ceaC5594FCB0dBB2306872d4B7aB'
2018-06-22 15:13:36 INFO     golem.pay                           b'Withdrawing 0.002000 ETH to 0x035724bD4471ceaC5594FCB0dBB2306872d4B7aB'
2018-06-22 15:13:37 INFO     golem.pay                           b'Withdrawing 0.002000 ETH to 0x035724bD4471ceaC5594FCB0dBB2306872d4B7aB'
2018-06-22 15:13:38 INFO     golem.pay                           b'Withdrawing 0.002000 ETH to 0x035724bD4471ceaC5594FCB0dBB2306872d4B7aB'

and then interface is grayed out, Golem needs to be restarted

screen shot 2018-06-21 at 14 23 09

observed for both GNT and ETH

2018-06-22 13:22:36 INFO     golem.pay                           Withdrawing 0.600000 GNTB to 0x5B013914EBD91B57e9838c06eab82a16Cac6e170
2018-06-22 13:22:36 INFO     golem.pay                           Withdrawing 0.600000 GNTB to 0x5B013914EBD91B57e9838c06eab82a16Cac6e170
2018-06-22 13:22:36 INFO     golem.pay                           Withdrawing 0.600000 GNTB to 0x5B013914EBD91B57e9838c06eab82a16Cac6e170
2018-06-22 13:22:36 INFO     golem.pay                           Withdrawing 0.600000 GNTB to 0x5B013914EBD91B57e9838c06eab82a16Cac6e170
2018-06-22 13:22:36 INFO     golem.pay                           Withdrawing 0.600000 GNTB to 0x5B013914EBD91B57e9838c06eab82a16Cac6e170
2018-06-22 13:22:36 INFO     golem.pay                           Withdrawing 0.600000 GNTB to 0x5B013914EBD91B57e9838c06eab82a16Cac6e170

Steps to reproduce:

  • go to GNT wallet, enter address and small amount of GNT
  • try to click Apply button multiple times quickly
  • if interface crash, check logs - there will be multiple payment entries

or:

  • go to GNT wallet, enter address and small amount of GNT, send it
  • go to ETH wallet, enter address and small amount of GNT
  • try to click Apply button multiple times quickly
  • if interface crash, check logs - there will be multiple payment entries

Resolved here 7551ed9.