   #-----------------------------------
 
   amount : () -> @icfg('amount', btcjs.networks.bitcoin.dustThreshold+1)
-  min_amount : () -> @amount() + btcjs.networks.bitcoin.feePerKb
+  min_amount : () -> @amount() + btcjs.networks.bitcoin.feePerKb - 800
   max_amount : () -> 2*btcjs.networks.bitcoin.feePerKb
   min_confirmations : () -> @icfg('confirmations', 3)
   from_address : () -> @cfg('from-address')

  icfg : (k, def = null) ->
    v = @config[k] unless (v = @args[k])?
    if not v? then def
    else if isNaN(v = parseInt(v, 10)) then null
    else v


    @args = minimist argv, {
      alias :
        c : 'config'
        f : 'from-address'
        a : 'amount'
        b : 'bitcoin-config'
        u : 'bitcoin-user'
        p : 'bitcoin-password'
        n : 'confirmations'
      string : [ 'l', 'b' ]
    }
    cb null

