Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publish comment/post #19

Open
ShadowMyst opened this issue Nov 1, 2019 · 1 comment
Open

publish comment/post #19

ShadowMyst opened this issue Nov 1, 2019 · 1 comment

Comments

@ShadowMyst
Copy link

ShadowMyst commented Nov 1, 2019

Hi, I have the problem that when I want to publish, using the Steem Ruby API, I get the error of "Steem :: SerializationMismatchError"

However, as much as I try to find out, I can't find where the fault is

options = {
  wif: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  params: {
    author: 'shadowmyst',
    permlink: 'probandolkmkkllkmlkejmlkew',
    parent_permlink: 'blog',
    title: 'Probando',
    body: 'mensaje creado usando steem-ruby',
    metadata: {
      tags: %w(blog spanish)
    }
  }
}

Steem::Broadcast.comment(options) do |result|
  if result.respond_to? :valid
    puts "procesado"
  else
    puts "no funciono"
  end
end

image

@inertia186
Copy link
Contributor

Probably because metadata need the value of: {tags: %w(blog spanish)}.to_json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants