hazinstore

Results comments of hazinstore

The error is here... ``` get_required_signatures(available_keys) { if (!available_keys.length) { return Promise.resolve([]); } var tr_object = ops.signed_transaction.toObject(this); // console.log('... tr_object',tr_object) //DEBUG console.log('... tr_object',tr_object) return Api.database_api().exec( "get_required_signatures", [tr_object, available_keys]).then(function(required_public_keys){ // DEBUG...

This one... https://github.com/svk31/steemjs-lib/blob/master/test/chain/TransactionBuilder.js ``` it("Add transfer operation", function(done) { let tr = new TransactionBuilder(); tr.add_type_operation("transfer", { from: passAccount, to: "svk", amount: "0.001 SBD", memo: new Buffer("Test transfer operation", "utf8") });...

Yes, but when I try to do that I get Buffer is not defined, perhaps because I'm doing it in the browser. Does memo have to be a buffer for...

Ohh looks like changing the amount to "1.00 SBD" from "1 SBD" got past it, but now I'm getting `SteemApi.js:33 SteemApi error: broadcast_transaction_with_callback [null,{"ref_block_num":17644,"ref_block_prefix":3442937367,"expiration":"2016-10-24T12:32:08","operations":[[2,{"from":"williambanks","to":"ghostwriter","amount":"1.00 SBD","memo":""}]],"extensions":[],"signatures":["1f6aff0e852b12e2e34f69c02a179215227240ce2dafb476f7b857b88b7b40d87818217e056031e3f78edf7bdecd74cb1f7658841d3e4dacf4a946934d77d46079"]}] {"code":1,"message":"10 assert_exception: Assert Exception\nfalse: invalid...

Have you tested transfers by setting the last flag on transactionbuilder to true? `tr.process_transaction(activeLogin, null, true)`

Oh crap ok, let me try that then.

Ok seems to be working now... https://steemd.com/@ghostwriter So the problem was precision and symbol. I'm going to patch my version of this to fix that, maybe split the amount field...

You want to do that? I was going to add it to my todo list, but if everything on my todo list needs to be done before I die, then...

Hey I'm not seeing an API call for it, but is there a way to be notified when a new transaction comes through? Polling in a loop seems horribly inefficient.

Oh also, memo as a string works perfectly fine here.