Error: hexToBytes can be called only on single strings.  

  RSS

dckc
 dckc
(@dckc)
Member Moderator
Joined:9 months  ago
Posts: 24
29/07/2018 11:00 pm  
I can't get hexToBytes to work on strings that have come over a channel. BasicWallet.rho seems to do it; I wonder why that works but this doesn't
 
rholang $ new ch in { for (@hx <- ch)  { @"stdout"!(hx.hexToBytes()) } | ch!("deadbeef") }
Deployment cost: CostAccount(18,Cost(629))
Errors received during evaluation:
Error: hexToBytes can be called only on single strings.

ReplyQuote
dckc
 dckc
(@dckc)
Member Moderator
Joined:9 months  ago
Posts: 24
02/08/2018 3:19 am  

This was due to a bug... or a couple bugs. One has a fix merged to dev; the other has a least a PR.

https://rchain.atlassian.net/browse/RHOL-553

https://rchain.atlassian.net/projects/RHOL/issues/RHOL-564


ReplyQuote
  
Working

Please Login or Register