fix stream abandon

This commit is contained in:
Niko Storni 2019-05-30 00:18:23 +02:00
parent 88aad289cf
commit a8afd1621e

View file

@ -335,7 +335,7 @@ func (d *Client) StreamCreate(name, filePath string, bid float64, options Stream
func (d *Client) StreamAbandon(txID string, nOut uint64, accountID *string, blocking bool) (*ClaimAbandonResponse, error) {
response := new(ClaimAbandonResponse)
err := d.call(response, "claim_abandon", map[string]interface{}{
err := d.call(response, "stream_abandon", map[string]interface{}{
"txid": txID,
"nout": nOut,
"account_id": accountID,